869413421 / chatgpt-web

基于ChatGPT3.5 API实现的私有化web程序
Apache License 2.0
3.2k stars 740 forks source link

Windows端打开页面还是显示空白 #100

Closed xzl0326 closed 1 year ago

xzl0326 commented 1 year ago

Windows端的exe程序开启,浏览器打开还是显示一片空白。控制台只显示了一个

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. index-dc745692.js:1

命令行里就是GET “/”

869413421 commented 1 year ago

Windows端的exe程序开启,浏览器打开还是显示一片空白。控制台只显示了一个

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. index-dc745692.js:1

命令行里就是GET “/”

已经尝试修复,指定了返回js类型。使用最新版本测试一下。

869413421 commented 1 year ago

Windows端的exe程序开启,浏览器打开还是显示一片空白。控制台只显示了一个

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. index-dc745692.js:1

命令行里就是GET “/” 我这里无法重现这个问题,只能尝试优化修复。

xzl0326 commented 1 year ago

好的

xzl0326 commented 1 year ago

可以了