mirror of
https://github.com/BillyOutlast/gsd-pi-config.git
synced 2026-07-01 08:34:05 -04:00
4aed376576
Use .env.web and vercel build env for VITE_BASE_PATH=/; trim README deploy section. GitHub Pages CI still overrides base to /gsd-pi-config/. Co-authored-by: Cursor <cursoragent@cursor.com>
18 lines
321 B
JSON
18 lines
321 B
JSON
{
|
|
"$schema": "https://openapi.vercel.sh/vercel.json",
|
|
"installCommand": "npm ci",
|
|
"buildCommand": "npm run build:web",
|
|
"outputDirectory": "dist",
|
|
"build": {
|
|
"env": {
|
|
"VITE_BASE_PATH": "/"
|
|
}
|
|
},
|
|
"rewrites": [
|
|
{
|
|
"source": "/((?!api/).*)",
|
|
"destination": "/index.html"
|
|
}
|
|
]
|
|
}
|