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

Cross-Origin Request Blocked error #16

Open
terryturton opened this issue Aug 9, 2019 · 0 comments
Open

Cross-Origin Request Blocked error #16

terryturton opened this issue Aug 9, 2019 · 0 comments

Comments

@terryturton
Copy link
Contributor

Just updated Firefox yesterday and went to open a cdb in Cinema:Explorer. Now I am getting a CORS error plus a few others:

The character encoding declaration of the HTML document was not found when prescanning the first 1024 bytes of the file. When viewed in a differently-configured browser, this page will reload automatically. The encoding declaration needs to be moved to be within the first 1024 bytes of the file.
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at file:///Users/tlturton/githubRepos/cinema_explorer/cinema/explorer/1.9/databases.json. (Reason: CORS request not http).

I am up to date with the head.

I can get around this by going to about:config in my browser and changing privacy.file_unique_origin to false in Firefox. But is there a cleaner way to do this via code?

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