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

blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome-extension, edge, https, chrome-untrusted #7

Open
HardRock4Life opened this issue Oct 21, 2021 · 1 comment

Comments

@HardRock4Life
Copy link

Hey Steve,

I'm trying to run the example on my local PC and I get this error:

Access to XMLHttpRequest at 'file:///C:/ms4w/apps/mvt-demo/simple.json' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome-extension, edge, https, chrome-untrusted

Could you assist me with this issue? Thank you!

@jmckenna
Copy link
Contributor

You're asking about an MS4W app (as the MVT demo is included in all MS4W distributions), and likely involves additional configuration for your MS4W Apache instance. Please ask your question direct to the MS4W users by going to the MS4W forum : https://lists.ms4w.com/mailman/listinfo/ms4w-users/ You're likely to get response from the many MS4W/Apache users there. thanks.

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