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

大神好,跨域问题怎么解决呢,谢谢 #213

Open
qiuqingpo opened this issue Jul 13, 2022 · 1 comment
Open

大神好,跨域问题怎么解决呢,谢谢 #213

qiuqingpo opened this issue Jul 13, 2022 · 1 comment

Comments

@qiuqingpo
Copy link

Access to fetch at 'http://127.0.0.1:8021/api/admin/login' from origin 'http://localhost:8002' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

@qiuqingpo
Copy link
Author

sorry , 是我配置错了,已经解决了。谢谢大神

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

1 participant