Allow for more permissive CORS behaviour in non production environments #2690
stevejpurves
started this conversation in
Proposals
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When using the default RemixAppServer as a development server it is possible to hit CORS issues on the statically served files from the public folder, where there is no way to set more permissive CORS headers.
Should we have permissive CORS headers added in development by default?
This PR 👉🏻 stevejpurves#1 👈 shows one possible change that would allow RemixAppServer to continue to be used in development in my case, where I'm accessing the served page in and `<iframe sandbox="allow-scripts" />'.
Beta Was this translation helpful? Give feedback.
All reactions