Skip to content
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

脚本启动后浏览器打开url为全空,控制台报错 #25

Closed
mooganic opened this issue Sep 5, 2023 · 4 comments
Closed

脚本启动后浏览器打开url为全空,控制台报错 #25

mooganic opened this issue Sep 5, 2023 · 4 comments

Comments

@mooganic
Copy link

mooganic commented Sep 5, 2023

打开浏览器输入http://127.0.0.1:8071/ 看到面板ui没有显示,内容全空

打开console,刷新网页看见error信息:
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.

@shiokaze
Copy link
Owner

shiokaze commented Sep 5, 2023

参考#9

@mooganic
Copy link
Author

mooganic commented Sep 5, 2023

HKEY_CLASSES_ROOT 下.js没有mimetypes值,不知道怎么新增

@mooganic
Copy link
Author

mooganic commented Sep 5, 2023

尝试了把Content Type的值改为了text/javascript,webui正常显示

@shiokaze
Copy link
Owner

shiokaze commented Sep 5, 2023

ok

@shiokaze shiokaze closed this as completed Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants