breautek commented on issue #196: Cordova apk returning : the server responded with a non-JavaScript MIME type of "" URL: https://github.com/apache/cordova/issues/196#issuecomment-582669247 `<script type="module">` requires that the file to be served from a http server because because it is forced through the CORS protocol. It sounds like you are receiving this module from the server, but the provided error suggest that the server is sending an incorrect `Content-Type` header. Ensure that your server is sending the correct mime type for the `Content-Type` header, which should be `text/javascript`. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
