Skip to content

socketio.wsgiApp staticfiles cors issues. #769

Discussion options

You must be logged in to vote

The static file serving app does not have CORS configuration, so it must be used within a same origin context, or else the CORS configuration must be inserted by a reverse proxy (nginx).

The purpose of serving static files is to aid in the development of your app by serving your client files. If you have needs that are larger than this, then I suggest you add your own file serving solution based on Flask or similar framework.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by TheDaneSimon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants