From 05eaa4741a9fef44728d2e089cdd062636a9c8f2 Mon Sep 17 00:00:00 2001 From: sugarBecomer Date: Fri, 27 Mar 2026 22:00:19 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E6=B7=B7=E6=B7=86=E5=89=8D=E7=AB=AF?= =?UTF-8?q?=E6=89=93=E5=8C=85=E5=90=8E=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entrypoint.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index 0c890b0..ee1ffb8 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -19,9 +19,17 @@ http:// { reverse_proxy ${BACKEND_URL} } + @assets path /assets/* /favicon.svg + handle @assets { + root * /www + header Cache-Control "public, max-age=31536000, immutable" + file_server + } + handle { root * /www try_files {path} /index.html + header Cache-Control "no-store, no-cache, must-revalidate" file_server }