You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to deploy my app using django-webpack-loader and webpack5. I have followed all documentations for now I have formed my webconfig:
I am getting in the developer console:
Refused to execute script from 'https://medtourism.uk/main.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
We got a similar error from one of our production apps. The issue was the missing publicPath + the use of code splitting, which made the browser request the bundle from the wrong place.
To correctly use code splitting, ensure publicPath is set to your STATIC_URL. Related: #309
I am trying to deploy my app using django-webpack-loader and webpack5. I have followed all documentations for now I have formed my webconfig:
I am getting in the developer console:
in the frontend part:
in django
and my index.html
Thanks for all helps.
The text was updated successfully, but these errors were encountered: