sound.js icon indicating copy to clipboard operation
sound.js copied to clipboard

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

Open CloverFeywilde opened this issue 7 years ago • 0 comments

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 avatar Jun 01 '18 23:06 CloverFeywilde