jupyter_server
jupyter_server copied to clipboard
Problem viewing served HTML pages on Chrome
Previewing a rich static HTML page (eg a Jupyter Book singlehtml page output) renders style and image file correctly in Firefox but generates a range of errors in Chrome of the form:
Access to font at 'http://localhost:8888/files/notebooks/_build2/html/_static/vendor/fontawesome/5.13.0/webfonts/fa-solid-900.woff2' from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Refused to apply style from '<URL>' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
Refused to execute script from '<URL>' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:
Hi @psychemedia, apologies for missing this one, are you still seeing this error? If so, can you give more repro steps?