-
Notifications
You must be signed in to change notification settings - Fork 4
Description
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?