修复青龙面板白屏

修复青龙面板白屏,第1张

青龙白屏是因为cdn掉了

自己修改一下就可以了

进入文件夹etc找到hosts

\etc\hosts

把这二个添加:

104.16.88.20 cdn.js delivr.net

直接复制在最后一行,就可以解决问题了

或者

1. 登陆linux 
2. 进入青龙容器 docker exec -it qinglong bash
3. 备份原来的index.html文件防止改错了不可用 
 cp dist/index.html dist/index.html.bak
4. 替换cdn
 sed -i "s/cdn.jsdelivr.net/cdn.ravi.cool/g" /ql/dist/index.html
替换两个不一样的文件名
 sed -i "s/darkreader.min.js/darkreader.js/g" /ql/dist/index.html
 sed -i "s/codemirror.min.js/codemirror.js/g" /ql/dist/index.html
5. 登陆青龙面板查看是否解决

欢迎分享,转载请注明来源:内存溢出

原文地址: http://www.outofmemory.cn/web/1296553.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-06-10
下一篇 2022-06-10

发表评论

登录后才能评论

评论列表(0条)

保存