Skip to content

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

@CloverFeywilde

Description

@CloverFeywilde

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions