Open apvarana opened 1 month ago
Hi @apvarana , thanks for raising the issue.
Can you share a few more details, such as:
Added this in the top of app.py import mimetypes mimetypes.add_type('application/javascript', '.js') mimetypes.add_type('text/css', '.css')
used localhost instead of 127.0.0.1 - Refer to bug #70 . same issue
There is no trace except the below Failed to load module script: 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.
Assigning to @iseabock -- do you happen to know why this might be needed in some situations in the backend?
I don't, but I'll investigate.
While running the code I receive following error and shows up blank page
Failed to load module script: 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.
Any fix for this issue. Pls help