fix: Chart.js 改为本地加载,修复分析页面无数据

- 下载 chart.min.js 到本地(200KB)
- analysis.html 引用改为 /chart.min.js
- Dockerfile 添加 chart.min.js 复制
- 避免 CDN 访问问题导致图表无法渲染
This commit is contained in:
OP
2026-06-29 00:07:36 +08:00
parent d183ca9207
commit 1aa2f529e7
3 changed files with 22 additions and 2 deletions

View File

@@ -1,3 +1,3 @@
FROM nginx:alpine
COPY index.html admin.html reset-password.html analysis.html /usr/share/nginx/html/
COPY index.html admin.html reset-password.html analysis.html chart.min.js /usr/share/nginx/html/
COPY nginx.conf /etc/nginx/conf.d/default.conf