commit 5f42091c3d43de1669333edee4bb7d7a7856bffc
parent b6055458592ff21e930cde7cdaab68716328ea81
Author: AMIT DUTTA <amitdutta4255@gmail.com>
Date: Tue, 27 Jan 2026 21:14:34 +0530
Add rewrite rule for /api to index.py
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/vercel.json b/vercel.json
@@ -1,6 +1,7 @@
{
"version": 2,
"rewrites": [
+ { "source": "/api", "destination": "/api/index.py" },
{ "source": "/api/(.*)", "destination": "/api/index.py" },
{ "source": "/(.*)", "destination": "/index.html" }
],