We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我f12看了下,有几个cdn特别慢,22秒才加载完成,能不能保存在本地引用?不然用个代理平台还得翻墙=-=。
No response
The text was updated successfully, but these errors were encountered:
可以本地化这几个文件,这个CDN不稳定,时快时慢,fancybox.css这个css放到/ChuanhuChatGPT/web_assets/stylesheet这里,marked.min.js和fancybox.umd.js下载放到/ChuanhuChatGPT/web_assets/javascript放到这里,修改/ChuanhuChatGPT/modules/webui.py中第54行 def reload_javascript(): js = javascript_html() js += '<script async type="module" src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>' js += '<script async type="module" src="https://spin.js.org/spin.umd.js"></script>' js += '<script async src="https://cdn.jsdelivr.net/npm/@fancyapps/[email protected]/dist/fancybox/fancybox.umd.js"></script>' 修改为 def reload_javascript(): js = javascript_html() js += '<script async type="module" src="/file=web_assets/javascript/marked.min.js"></script>' js += '<script async type="module" src="https://spin.js.org/spin.umd.js"></script>' js += '<script async src="/file=web_assets/javascript/fancybox.umd.js"></script>'
Sorry, something went wrong.
cdn.jsdelivr.net/npm 可以替换为 s4.zstatic.net/npm
cdn.jsdelivr.net/npm
s4.zstatic.net/npm
No branches or pull requests
这个bug是否已存在现有issue了?
错误表现
我f12看了下,有几个cdn特别慢,22秒才加载完成,能不能保存在本地引用?不然用个代理平台还得翻墙=-=。
复现操作
错误日志
No response
运行环境
帮助解决
补充说明
No response
The text was updated successfully, but these errors were encountered: