diff --git a/vercel.json b/vercel.json index b73cda2..a3fa9f4 100644 --- a/vercel.json +++ b/vercel.json @@ -1,5 +1,26 @@ { - "rewrites": [ - { "source": "/(.*)", "destination": "/" } + "version": 2, + "routes": [ + { + "src": "/public/(.*)", + "dest": "/public/$1" + }, + { + "src": "/securedata", + "dest": "/securedata.html" + }, + { + "src": "/stext", + "dest": "/stext.html" + }, + { + "src": "/getData", + "dest": "/getData.html" + }, + { + "src": "/(.*)", + "dest": "/index.html" + } ] - } \ No newline at end of file + } + \ No newline at end of file