Spaces:
Sleeping
Sleeping
Commit ·
fd44330
1
Parent(s): 430b6a9
fix(vercel): remove _comment_* custom keys (schema rejects them)
Browse filesVercel's vercel.json JSON schema is strict and rejects any property
not in the spec. The three _comment_env/_comment_rootdir/_comment_region
helpers caused project import to fail with:
Invalid request: should NOT have additional property '_comment_env'.
Notes moved to docs/DEPLOY_FREE.md instead.
- vercel.json +1 -4
vercel.json
CHANGED
|
@@ -31,8 +31,5 @@
|
|
| 31 |
],
|
| 32 |
"redirects": [
|
| 33 |
{ "source": "/home", "destination": "/", "permanent": true }
|
| 34 |
-
]
|
| 35 |
-
"_comment_env": "Environment variables MUST be set in Vercel dashboard (Project Settings -> Environment Variables). Required: NEXT_PUBLIC_API_URL=https://hasari-api.onrender.com Optional: NEXT_PUBLIC_SUPABASE_URL, NEXT_PUBLIC_SUPABASE_ANON_KEY, NEXT_PUBLIC_SENTRY_DSN. NEVER commit secrets to this file.",
|
| 36 |
-
"_comment_rootdir": "In Vercel UI set Root Directory = apps/web so this vercel.json (placed at repo root) is picked up via project import; alternatively move this file to apps/web/vercel.json.",
|
| 37 |
-
"_comment_region": "cdg1 = Paris (Europe-West); closest free region to Turkey. Hobby plan allows only 1 region."
|
| 38 |
}
|
|
|
|
| 31 |
],
|
| 32 |
"redirects": [
|
| 33 |
{ "source": "/home", "destination": "/", "permanent": true }
|
| 34 |
+
]
|
|
|
|
|
|
|
|
|
|
| 35 |
}
|