From 0112980dd91f685ab5380c92d81229133a90a553 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, 16 Dec 2025 08:16:06 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0wrangler=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E5=B9=B6=E8=BF=81=E7=A7=BB=E9=87=8D=E5=AE=9A=E5=90=91?= =?UTF-8?q?=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在wrangler.jsonc中添加404页面处理配置 - 将_redirects文件重命名为public_redirects以符合新规范 --- _redirects => public/_redirects | 0 wrangler.jsonc | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) rename _redirects => public/_redirects (100%) diff --git a/_redirects b/public/_redirects similarity index 100% rename from _redirects rename to public/_redirects diff --git a/wrangler.jsonc b/wrangler.jsonc index 6d5d76223..d6c6519ef 100644 --- a/wrangler.jsonc +++ b/wrangler.jsonc @@ -2,7 +2,8 @@ "name": "fuwari", "compatibility_date": "2025-08-11", "assets": { - "directory": "./dist" + "directory": "./dist", + "not_found_handling": "404-page" } }