Previously baseURL defaulted to 'http://localhost:5001' in all environments, causing issues when deployed on servers or Docker with port mapping. Changes: - Use relative path (empty string) in production for same-origin deployment - Keep localhost:5001 default for development environment - Still respects VITE_API_BASE_URL env var if set Fixes #93, related to #59, #57 |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| .gitignore | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| vite.config.js | ||