Spaces:
Running
Running
Commit ·
964d147
1
Parent(s): 862e1ff
[Cursor] Update Vercel routing configuration
Browse files- vercel.json +5 -2
vercel.json
CHANGED
|
@@ -11,6 +11,10 @@
|
|
| 11 |
}
|
| 12 |
],
|
| 13 |
"routes": [
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
{
|
| 15 |
"src": "/(.*)",
|
| 16 |
"dest": "index.py",
|
|
@@ -20,8 +24,7 @@
|
|
| 20 |
"Access-Control-Allow-Methods": "GET, POST, OPTIONS",
|
| 21 |
"Access-Control-Max-Age": "86400",
|
| 22 |
"Cache-Control": "public, max-age=0, must-revalidate"
|
| 23 |
-
}
|
| 24 |
-
"continue": true
|
| 25 |
}
|
| 26 |
]
|
| 27 |
}
|
|
|
|
| 11 |
}
|
| 12 |
],
|
| 13 |
"routes": [
|
| 14 |
+
{
|
| 15 |
+
"src": "/api/(.*)",
|
| 16 |
+
"dest": "index.py"
|
| 17 |
+
},
|
| 18 |
{
|
| 19 |
"src": "/(.*)",
|
| 20 |
"dest": "index.py",
|
|
|
|
| 24 |
"Access-Control-Allow-Methods": "GET, POST, OPTIONS",
|
| 25 |
"Access-Control-Max-Age": "86400",
|
| 26 |
"Cache-Control": "public, max-age=0, must-revalidate"
|
| 27 |
+
}
|
|
|
|
| 28 |
}
|
| 29 |
]
|
| 30 |
}
|