feat: Update Vercel config + add env example for landing deployment
#4
by MouleeswaranM - opened
- landing/vercel.json +7 -1
landing/vercel.json
CHANGED
|
@@ -1,5 +1,11 @@
|
|
| 1 |
{
|
|
|
|
|
|
|
|
|
|
| 2 |
"rewrites": [
|
| 3 |
{ "source": "/(.*)", "destination": "/index.html" }
|
| 4 |
-
]
|
|
|
|
|
|
|
|
|
|
| 5 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"buildCommand": "npm run build",
|
| 3 |
+
"outputDirectory": "dist",
|
| 4 |
+
"framework": "vite",
|
| 5 |
"rewrites": [
|
| 6 |
{ "source": "/(.*)", "destination": "/index.html" }
|
| 7 |
+
],
|
| 8 |
+
"env": {
|
| 9 |
+
"VITE_API_URL": "https://fairrelay-brain.onrender.com"
|
| 10 |
+
}
|
| 11 |
}
|