无法正确加载 webUI
Cannot load webUI correctly
我可以在 localhost:8089 上获取页面,但不能在 style.css 上获取。这些是来自 firefox 和 chrome:
的结果
火狐:
GET http://localhost:8089/static/style.css?v=1.0 [HTTP/1.1 200 OK 17ms]
The stylesheet http://localhost:8089/static/style.css?v=1.0 was not loaded because its MIME type, “application/x-css”, is not “text/css”.
Chrome:
localhost/:5 Resource interpreted as Stylesheet but transferred with MIME type application/x-css: "http://localhost:8089/static/style.css?v=1.0".
如何让网络正常?请帮助。
您是否遇到了此处提到的相同问题?
https://community.grafana.com/t/grafana-start-but-stylesheets-not-displayed/3250/11
具体检查您的注册表 (https://gogs.io/docs/intro/troubleshooting#windows):
- 错误:资源被解释为样式表但以 MIME 类型传输application/x-css
- 原因:Windows 注册表中的错误值
- 解决方法:在注册表的HKEY_CLASSES_ROOT中找到.css,将其Content Type改为text/css.
我可以在 localhost:8089 上获取页面,但不能在 style.css 上获取。这些是来自 firefox 和 chrome:
的结果火狐:
GET http://localhost:8089/static/style.css?v=1.0 [HTTP/1.1 200 OK 17ms]
The stylesheet http://localhost:8089/static/style.css?v=1.0 was not loaded because its MIME type, “application/x-css”, is not “text/css”.
Chrome:
localhost/:5 Resource interpreted as Stylesheet but transferred with MIME type application/x-css: "http://localhost:8089/static/style.css?v=1.0".
如何让网络正常?请帮助。
您是否遇到了此处提到的相同问题?
https://community.grafana.com/t/grafana-start-but-stylesheets-not-displayed/3250/11
具体检查您的注册表 (https://gogs.io/docs/intro/troubleshooting#windows):
- 错误:资源被解释为样式表但以 MIME 类型传输application/x-css
- 原因:Windows 注册表中的错误值
- 解决方法:在注册表的HKEY_CLASSES_ROOT中找到.css,将其Content Type改为text/css.