I have a problem with my django application.
It does not serve the static files correctly. All files are served and the CSS works but for the.mjs files i get a "Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of ""." error.
Apparently django does not set the MIME Type correctly but i can't figure out why. And it had worked before so i know it should work.
Maybe someone knows what i did wrong and can help me fix it.