Shiny: CORS in Shiny

Created on 30 Jun 2016  ·  3Comments  ·  Source: rstudio/shiny

Is there a way to make CORS in Shiny, hosted on R Studio Server?
Assuming your App creates files based on user interaction which you then need to load into JavaScript and process it there. Currently there is (to me) no known way to to this because security reasons forbid CORS. Is there a way to set a header or something that would allow this?

All 3 comments

The pro version of Shiny Server does has custom headers: http://docs.rstudio.com/shiny-server/#set-custom-headers

@wch Oh bummer... Thanks!

Is there any custom method to set header for non-pro users?

Was this page helpful?
0 / 5 - 0 ratings