/etc/nginx/mime.types:
application/javascript js mjs;
62 application/octet-stream bin exe dll;
63 application/octet-stream deb;
64 application/octet-stream dmg;
65 application/octet-stream iso img;
66 application/octet-stream msi msp msm;
还是提示:
Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "application/octet-stream". Strict MIME type checking is enforced for module scripts per HTML spec.