Skip to content
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

按照快速入门教程走,点击Test Game Server按钮时出现跨域问题,该如何处理? #994

Open
wengmankai opened this issue Feb 6, 2025 · 2 comments

Comments

@wengmankai
Copy link

通讯协议采用socket.io
浏览器错误提示:Access to XMLHttpRequest at 'http://127.0.0.1:3010/socket.io/?EIO=3&transport=polling&t=PJR1V1L' from origin 'http://localhost:3001' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

@whtiehack
Copy link
Member

先选websocket. socket.io等你熟悉了再去踩坑

@wengmankai
Copy link
Author

wengmankai commented Feb 7, 2025 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

No branches or pull requests

2 participants