From 948c5c7f58088c42fcb656d407964c2004605d86 Mon Sep 17 00:00:00 2001 From: MT-Fire <798521692@qq.com> Date: Wed, 1 Apr 2026 19:22:03 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E4=B8=8D=E5=9C=A8=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E5=99=A8=E6=89=93=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/serve.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/serve.sh b/scripts/serve.sh index d04de1cc..4a2fd2a3 100755 --- a/scripts/serve.sh +++ b/scripts/serve.sh @@ -30,7 +30,8 @@ done if $DEV_MODE; then FRONTEND_CMD="pnpm run dev" else - FRONTEND_CMD="env BETTER_AUTH_SECRET=$(python3 -c 'import secrets; print(secrets.token_hex(16))') pnpm run preview" + # Use existing build artifacts, don't rebuild + FRONTEND_CMD="env BETTER_AUTH_SECRET=$(python3 -c 'import secrets; print(secrets.token_hex(16))') pnpm run start" fi # ── Stop existing services ────────────────────────────────────────────────────