I am getting this error with my Reacjs application with the production build.
Refused to execute script from 'https://www-xxxx.com/apps/someapp/settings/static/js/52.eebbab07.chunk.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
This error occurred due to URL change with client-side routing in my application. I used the following attribute in my package.json file.
"homepage": ".",
The static files are located in https://www-xxxx.com/apps/someapp/ path. Is there a way to control this behaviour which happened with internal routing and the homepage attribute?