When running my web project in caddy I get the following error in the browser.
Though I am posting one instance, there are a number of javascript files that give the same error.
“Expected a JavaScript module script but the server responded with a MIME type of “text/plain”. Strict MIME type checking is enforced for module scripts per HTML spec.”
1. Output of caddy version:
v2.5.2
2. How I run Caddy:
caddy file-server
a. System environment:
Windows 10
I am not 100% sure if I “MUST” have a config file and how that should be configured not to have this particular issue.
A point in the right direction would be appreciated