standardebooks / web

The source code for the Standard Ebooks website.
https://standardebooks.org
Creative Commons Zero v1.0 Universal
235 stars 64 forks source link

CSP errors in Firefox #372

Closed kalafut closed 4 months ago

kalafut commented 4 months ago

Hi. Thanks for the excellent project.

When browsing your main site (https://standardebooks.org) using Firefox, I've found that clicking links results in a blank page. I have to refresh to actually see the page. I see these errors in the console:

image
kalafut commented 4 months ago

Actually, this looks to be a compatibility issue with the React Developer Tools extension. When I disable that there are no problems. I'll leave this issue open just in case this is indicative of some other issue.

acabal commented 4 months ago

CSP is working fine, I developed this website on Firefox and I've used Firefox every day for almost two decades :) You might consider contacting the React developers about this, though I suspect CSP is probably doing exactly what it's supposed to in this case.