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