Spaces:
Sleeping
Sleeping
fix(vercel): use routes not rewrites — rewrites are GET-only
Browse filesCo-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- ui/vercel.json +4 -3
ui/vercel.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
{
|
| 2 |
-
"
|
| 3 |
-
{ "
|
| 4 |
-
{ "
|
|
|
|
| 5 |
]
|
| 6 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"routes": [
|
| 3 |
+
{ "src": "/api/ph/(.*)", "dest": "/api/posthog?path=$1" },
|
| 4 |
+
{ "handle": "filesystem" },
|
| 5 |
+
{ "src": "/(.*)", "dest": "/index.html" }
|
| 6 |
]
|
| 7 |
}
|