MicroFish/frontend
JasonOA888 1e3451b058 fix(frontend): use relative baseURL in production, avoid hardcoded localhost
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
2026-03-09 16:18:22 +08:00
..
public Remove outdated README.md and update favicon in index.html 2025-12-16 20:58:48 +08:00
src fix(frontend): use relative baseURL in production, avoid hardcoded localhost 2026-03-09 16:18:22 +08:00
.gitignore Add project status report and frontend documentation 2025-12-10 14:49:11 +08:00
index.html Update font styles across the application to include 'Noto Sans SC' for improved typography consistency. 2025-12-26 17:35:09 +08:00
package-lock.json Initialize project with version 0.1.0 and update package configurations 2025-12-18 18:30:29 +08:00
package.json feat(docker): add Docker support with Dockerfile, docker-compose.yml, and .dockerignore; update README for Docker deployment instructions 2026-01-22 14:35:41 +08:00
vite.config.js Add project status report and frontend documentation 2025-12-10 14:49:11 +08:00