From 0d9a9c9d7f6d764589f908a8baf3e853f621afd3 Mon Sep 17 00:00:00 2001 From: JayJay1024 Date: Mon, 21 Feb 2022 14:32:15 +0800 Subject: [PATCH] fix: route 404 --- vercel.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/vercel.json b/vercel.json index 5d532555..86575c1b 100644 --- a/vercel.json +++ b/vercel.json @@ -21,5 +21,20 @@ } ] } + ], + "rewrites": [ + { "source": "/faq", "destination": "/index.html" }, + { "source": "/brand", "destination": "/index.html" }, + { "source": "/ambassador", "destination": "/index.html" }, + { "source": "/community", "destination": "/index.html" }, + { "source": "/blog", "destination": "/index.html" }, + { "source": "/reports", "destination": "/index.html" }, + { "source": "/events", "destination": "/index.html" }, + { "source": "/videos", "destination": "/index.html" }, + { "source": "/news", "destination": "/index.html" }, + { "source": "/tech", "destination": "/index.html" }, + { "source": "/economic_model", "destination": "/index.html" }, + { "source": "/plo", "destination": "/index.html" }, + { "source": "/plo_contribute", "destination": "/index.html" } ] }