From 030b01fe89e5cdb9ff0ec031ce62248495ad322d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E5=8F=89=E6=A0=91=E6=A0=91?= Date: Tue, 2 Sep 2025 06:24:22 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E6=B7=BB=E5=8A=A0=E9=9D=99=E6=80=81?= =?UTF-8?q?=E8=BE=93=E5=87=BA=E9=85=8D=E7=BD=AE=E5=88=B0astro=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将output设置为"static"以确保生成静态站点输出 --- astro.config.mjs | 1 + vercel.json | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 vercel.json diff --git a/astro.config.mjs b/astro.config.mjs index 907cfc4a2..868735888 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -33,6 +33,7 @@ export default defineConfig({ site: "https://www.2x.nz", base: "/", trailingSlash: "always", + output: "static", adapter: vercel(), redirects: { "/ak": { diff --git a/vercel.json b/vercel.json deleted file mode 100644 index 0967ef424..000000000 --- a/vercel.json +++ /dev/null @@ -1 +0,0 @@ -{}