-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
socket.io polling request blocked by CORS policy in Electron #1813
Comments
brownsugar
added a commit
to brownsugar/devtools
that referenced
this issue
Mar 25, 2022
8 tasks
Akryum
pushed a commit
that referenced
this issue
Mar 29, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
6.0.0-beta.21 and up
Browser and OS info
Electron 17.2.0 / MacOS 12.2.1
Steps to reproduce
@vue/devtools@6.0.0-beta.21
quasar dev -m electron --devtools
to start a development server.What is expected?
The Socket.io server should correctly handle CORS requests.
What is actually happening?
Request was blocked by the CORS policy.
Since Socket.io v3, CORS was disabled by default, when I update
@vue/devtools
from6.0.0-beta.20
to6.0.0-beta.21
, the required version ofsocket.io
dependency was updated from^2.0.4
to^4.4.0
, and the socket.io server in electron-shell doesn't properly handle CORS.The text was updated successfully, but these errors were encountered: