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

Local Testing Broken in Chrome: Cross Origin request are only supported for protocol schemes (yes I'm running a local server) #23

Open
CloverFeywilde opened this issue Jun 1, 2018 · 0 comments

Comments

@CloverFeywilde
Copy link

CloverFeywilde commented Jun 1, 2018

Yes, I am using http-server in my root directory and am still getting this error message. The exact message reads:
Failed to load file:///home/bryan/Documents/Projects/faerieFM/sounds/faerieFM.mp3: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.
it works in every other browser except chrome. I'm wondering if it's an update chrome did that broke it. Also, my game used to work in chrome. And I'm guessing somewhat recently functionality broke.

Edit:: Okay so It works in chrome, but not locally. I guess one could test their scripts in firefox locally? Either way it's just weird that I can no longer test my game in chrome without snagging these errors on sound.js

@CloverFeywilde CloverFeywilde changed the title Broken in Chrome: Cross Origin request are only supported for protocol schemes Broken in Chrome: Cross Origin request are only supported for protocol schemes (yes I'm running a local server) Jun 1, 2018
@CloverFeywilde CloverFeywilde changed the title Broken in Chrome: Cross Origin request are only supported for protocol schemes (yes I'm running a local server) Local Testing Broken in Chrome: Cross Origin request are only supported for protocol schemes (yes I'm running a local server) Jun 2, 2018
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