jupyter_server icon indicating copy to clipboard operation
jupyter_server copied to clipboard

Problem viewing served HTML pages on Chrome

Open psychemedia opened this issue 4 years ago • 1 comments

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.

psychemedia avatar Jul 25 '21 21:07 psychemedia

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. welcome 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:

welcome[bot] avatar Jul 25 '21 21:07 welcome[bot]

Hi @psychemedia, apologies for missing this one, are you still seeing this error? If so, can you give more repro steps?

blink1073 avatar Jan 05 '23 16:01 blink1073