fix: Chart.js 改为本地加载,修复分析页面无数据
- 下载 chart.min.js 到本地(200KB) - analysis.html 引用改为 /chart.min.js - Dockerfile 添加 chart.min.js 复制 - 避免 CDN 访问问题导致图表无法渲染
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user