This content originally appeared on DEV Community and was authored by chuongmep
This is simple way to fix :
- Find type format relate to the issue from console in web browser
- Add the code from python server, in my case I’m not able to load .mjs from source :
import mimetypes
mimetypes.add_type('text/javascript', '.mjs')
This content originally appeared on DEV Community and was authored by chuongmep
