using js modules

16 views
Skip to first unread message

Mohamed Ashraf

unread,
Aug 12, 2021, 6:46:19 PM8/12/21
to CEF Python
I have this line in index.html --> <script type="module" src="../js/main.js"></script>
using js modules shows me error: 
Failed to load module script: The server responded with a non-JavaScript MIME type of "". Strict MIME type checking is enforced for module scripts per HTML spec.

how can add mime types or solve this?

Czarek Tomczak.

unread,
Aug 13, 2021, 6:51:28 AM8/13/21
to CEF Python
Does this reproduce with any examples?

Mohamed Ashraf

unread,
Aug 14, 2021, 10:57:00 AM8/14/21
to CEF Python
What examples do you mean?
Reply all
Reply to author
Forward
0 new messages