From 1c89a1c8bb7fbcd9eb0af04ea2b2df82c591300a Mon Sep 17 00:00:00 2001 From: JOYCEQL <1449239013@qq.com> Date: Sun, 1 Dec 2024 18:44:35 +0800 Subject: [PATCH] fix: production refresh 404 --- apps/fronted/next.config.mjs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/fronted/next.config.mjs b/apps/fronted/next.config.mjs index 059cce8..14717dd 100644 --- a/apps/fronted/next.config.mjs +++ b/apps/fronted/next.config.mjs @@ -12,6 +12,10 @@ const nextConfig = { source: "/generate-pdf", destination: "http://1255612844-0z3iovadu8.ap-chengdu.tencentscf.com/generate-pdf" + }, + { + source: "/:path*", + destination: "/" } ]; }