When loading the app through a public link and behind CloudFlare using HTTPS, the app is not able to load because of a security feature of most browsers:
The resource from “https://somedomain.com/somesubdomain/bundle.js” was blocked due to MIME type (“text/plain”) mismatch (X-Content-Type-Options: nosniff).
The app does not render and that message above is shown on the console (Firefox). Both Chrome and Firefox were tested. Same behaviour.
Hi! Not sure this is actually an issue with Prodigy – it looks like you might have No-Sniff Headers enabled in Cloudflare that prevents the browser from guessing the MIME type. Disabling that should solve the issue:
It's possible that there are places where Prodigy could set more explicity MIME types – however, you might still run into the same problems for your own custom content in HTML templates etc. if you're setting the no-sniff header.
We'll also include this by default in the next release.
Just note that there are potential open issues with this feature that may have an impact on the content – see this thread. There's also no reason you'd need to disallow MIME-type sniffing for Prodigy, since you're not hosting anything you don't control (e.g. user uploads).