From 10baa7874982f21b244361bfe4366e8814eb23d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E9=98=B3?= <3311118881@qq.com> Date: Thu, 17 Oct 2024 16:43:44 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3vercel=E5=88=B7=E6=96=B0404?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/_redirects | 1 + vercel.json | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 public/_redirects create mode 100644 vercel.json diff --git a/public/_redirects b/public/_redirects new file mode 100644 index 0000000..f824337 --- /dev/null +++ b/public/_redirects @@ -0,0 +1 @@ +/* /index.html 200 \ No newline at end of file diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000..a55495d --- /dev/null +++ b/vercel.json @@ -0,0 +1,8 @@ +{ + "rewrites": [ + { + "source": "/:path*", + "destination": "/index.html" + } + ] +} \ No newline at end of file