From 6bdad2eae9a8d511718d00d384220ab49f339ffc Mon Sep 17 00:00:00 2001 From: "2569718930@qq.com" <2569718930@qq.com> Date: Mon, 18 May 2026 19:22:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B8=B8=E5=AE=A2=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E5=8A=A0=E8=BD=BD=E5=9F=8E=E5=B8=82=E7=AE=80=E6=8A=A5?= =?UTF-8?q?=EF=BC=9Amiddleware=20=E7=99=BD=E5=90=8D=E5=8D=95=E9=81=97?= =?UTF-8?q?=E6=BC=8F=20detail=20=E7=AB=AF=E7=82=B9=E5=AF=BC=E8=87=B4=20401?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/middleware.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/middleware.ts b/frontend/middleware.ts index e6545e33..e9028688 100644 --- a/frontend/middleware.ts +++ b/frontend/middleware.ts @@ -40,6 +40,7 @@ function isPublicApi(pathname: string) { pathname === "/api/vitals" || /^\/api\/city\/[^/]+$/i.test(pathname) || /^\/api\/city\/[^/]+\/summary$/i.test(pathname) || + /^\/api\/city\/[^/]+\/detail$/i.test(pathname) || /^\/api\/city\/[^/]+\/market-scan$/i.test(pathname) ); }