-
Notifications
You must be signed in to change notification settings - Fork 72
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
卡在初始化界面 #16
Comments
经验证,你描述的情况没有复现。你打开F12 看下是哪个JS加载失败。7.1那几天CDN是有些干扰,可能会有几个js加载不上。你现在再试试,看看是不是cdn js没加载上。 |
问题已经定位了,markdown组件使用了cloudflare的js cdn,如果你当地cloudflare被屏蔽了就打不开了,可以暂时用ReplaceCDN解决,这个BUG后续版本会修复 |
不是 Markdown 组件的事,前端使用了 cdn.jsdelivr.net 的 vue.js 等基础的库,在楼主的 解决:作者在文档里推荐 ReplaceCDN 浏览器扩展程序,个人认为在 FROM sort/godnslog:0.7.0
COPY --chown=app:app cdn /app/dist/cdn
ARG CDN_MIRROR_PATH
RUN echo 'Modify static files ...' && \
sed -i 's#<head>#<head><meta name="referrer" content="same-origin">#g' /app/dist/index.html && \
sed -i "s#<script src=//cdn.jsdelivr.net#<script src=${CDN_MIRROR_PATH}/cdn.jsdelivr.net#g" /app/dist/index.html && \
echo 'Done'
其中
建议:不要使用 CDN,或者提供一个选项,可以使用本地静态文件 |
登录界面无法登入,纯内网环境搭建好后,机器不可出网,卡在初始化界面,仅看到Pro和下面的Ant Design。
The text was updated successfully, but these errors were encountered: