Skip to content

[PR] 修复因跨域限制无法登录的问题 #4

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AlbertGithubHome
Copy link

Access to XMLHttpRequest at ‘http://127.0.0.1:3000/socket.io/?EIO=3&transport=polling&t=OyAd7iL’ from origin ‘http://127.0.0.1:8080’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
GET http://127.0.0.1:3000/socket.io/?EIO=3&transport=polling&t=OyAd7iL net::ERR_FAILED 400 (Bad Request)

修复之前提示【连接服务器失败!】,F12查看源码发现js报错,该提交用于修改这个问题

@hcwstar
Copy link

hcwstar commented Apr 29, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants