fixed68: compose切换fixed68+停用cachebust运行时补丁

This commit is contained in:
3970260761 committed 2026-11-07 15:06:33 +08:00
1 parent d92b9eb100
commit e920e878b3
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ version: '3.8'
services:
# KatelyaTV 应用服务
katelyatv:
image: katelyatv:fixed63
image: katelyatv:fixed68
container_name: katelyatv
ports:
- "3030:3000"
+3 -3
View File
@@ -56,9 +56,9 @@ echo "[4f/5] 注入 /ipv6 线路选择页 + 首页 IPV4/IPV6 切换按钮... 已
echo "[4h/5] 用户最后登录/注册时间记录... 已源码化(redis.db touchLogin+login调用+admin回填),跳过运行时注入"
# python3 "$DIR/inject_last_login.py" || echo "last_login inject failed (non-fatal)"
echo "[4g/5] 前端资源防陈旧缓存(chunk按内容改名)..."
docker cp "$DIR/patch_cachebust.js" "$C:/tmp/patch_cachebust.js"
docker exec "$C" node /tmp/patch_cachebust.js || true
echo "[4g/5] 前端资源防陈旧缓存... 已过时停用(Next构建自带contenthash,容器内无402 chunk),跳过运行时改名"
# docker cp "$DIR/patch_cachebust.js" "$C:/tmp/patch_cachebust.js"
# docker exec "$C" node /tmp/patch_cachebust.js || true
echo "[5/5] 重启 ..."
docker restart "$C" >/dev/null