commit c9f07e963ed8521af147cca58fd151a8f0ff2a7d
parent ff4b7c65dd9e54de1be821860c2f8e8cbf27a8cb
Author: Amit Dutta <mail@amit.is-a.dev>
Date: Mon, 20 Jul 2026 20:13:31 +0530
Update vercel.json
Diffstat:
1 file changed, 3 insertions(+), 13 deletions(-)
diff --git a/vercel.json b/vercel.json
@@ -1,18 +1,8 @@
{
-"builds": [
+"rewrites": [
{
-"src": "api/index.py",
-"use": "@vercel/python"
-}
-],
-"routes": [
-{
-"src": "/api/(.)",
-"dest": "api/index.py"
-},
-{
-"src": "/(.)",
-"dest": "/index.html"
+"source": "/api/(.*)",
+"destination": "/api/index"
}
]
}