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

js文件跨域问题 #22

Open
yinyuncan opened this issue Sep 23, 2020 · 1 comment
Open

js文件跨域问题 #22

yinyuncan opened this issue Sep 23, 2020 · 1 comment

Comments

@yinyuncan
Copy link

Access to script at 'http://mapapi.qq.com/c/=/jsapi_v2/2/4/132/main.js' from origin 'http://site.big-sight.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

image

@yinyuncan
Copy link
Author

问题解决了,我改了源码,把http改为https就没报跨域错误了

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