-
-
Notifications
You must be signed in to change notification settings - Fork 587
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mime type for js is text/plain #181
Comments
fixed by adding this to my app): import mimetypes |
aaronsantiago
added a commit
to aaronsantiago/Eel
that referenced
this issue
May 6, 2020
python-eel#49 python-eel#181 it seems like these issues weren't ever truly fixed. It would be nice if Eel set the mimetypes on its own. According to pallets/flask#1045 this bug will happen for all Windows users. The most common use for this would be to import JS modules. Chrome doesn't allow modules with incorrect mimetypes to be loaded without a registry edit. mimetypes is a Python standard lib so there shouldn't be much impact. Cheers!
Merged
samuelhwilliams
pushed a commit
that referenced
this issue
May 24, 2020
#49 #181 it seems like these issues weren't ever truly fixed. It would be nice if Eel set the mimetypes on its own. According to pallets/flask#1045 this bug will happen for all Windows users. The most common use for this would be to import JS modules. Chrome doesn't allow modules with incorrect mimetypes to be loaded without a registry edit. mimetypes is a Python standard lib so there shouldn't be much impact. Cheers!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
issue #49 persists)
mime type for *.js files should be "application/javascript"
http://mozg4d.com/images/mime-type.png
eel is amazing) thank you)
The text was updated successfully, but these errors were encountered: