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

跨域错误 #17

Open
konglingwen94 opened this issue Feb 19, 2019 · 0 comments
Open

跨域错误 #17

konglingwen94 opened this issue Feb 19, 2019 · 0 comments

Comments

@konglingwen94
Copy link

Failed to load http://192.168.1.6:3000/v1/banner: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8080' is therefore not allowed access.

看到作者有设置 res.header("Access-Control-Allow-Origin", "*");
但是跑起来还是报错

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