Files
Jeremy McSpadden 4aed376576 Fix Vercel blank page by building web assets at root path.
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>
2026-05-25 11:27:28 -05:00

9 lines
519 B
Bash

# Web build (copy to .env.web.local for `npm run dev:web`)
VITE_BASE_PATH=/
VITE_PRESETS_INDEX_URL=https://raw.githubusercontent.com/open-gsd/gsd-pi-presets/main/index.json
VITE_PRESETS_RAW_BASE_URL=https://raw.githubusercontent.com/open-gsd/gsd-pi-presets/main/
VITE_PRESETS_CONTRIBUTING_URL=https://github.com/open-gsd/gsd-pi-presets/blob/main/CONTRIBUTING.md
# Optional: GitHub OAuth for in-app preset submit (requires api/submit-preset deployed)
VITE_GITHUB_CLIENT_ID=
VITE_SUBMIT_PRESET_API_URL=/api/submit-preset