press
press copied to clipboard
Refused to apply style
Our wiki page, running on master branch, doesn't render correctly and the following errors show up in the browser console:
Refused to apply style from 'https://my.wiki.com/wiki.bundle.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
/wiki.bundle.js:1 GET https://my.wiki.com/wiki.bundle.js net::ERR_ABORTED 404 (Not Found)
my-wiki-page:1 Refused to apply style from 'https://my.wiki.com/files/website_theme/frappe/public/css/fonts/inter/inter.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
my-wiki-page:1 Refused to execute script from 'https://my.wiki.com/wiki.bundle.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
my-wiki-page:3250 Uncaught ReferenceError: RenderWiki is not defined at my-wiki-page:3250:22
Is your site on FC? Can you try rebuild and see if that fix the issue?
Yes, it is on a public FC bench. I tried rebuilding via Website Theme, that didn't help.