MicroFish/frontend
Octopus 9961d59c78 fix: read VITE_API_BASE_URL from .env for Vite dev proxy (fixes #480)
The Vite development proxy target was hardcoded to http://localhost:5001,
ignoring the VITE_API_BASE_URL environment variable that the axios client
already respects. This caused the dev proxy to still route to localhost even
when users configured a remote or custom backend address.

- Use loadEnv() in vite.config.js to read VITE_API_BASE_URL from the project
  root .env file and pass it as the proxy target (fallback: localhost:5001)
- Document VITE_API_BASE_URL in .env.example so users know the variable exists
2026-04-07 10:30:35 +08:00
..
public Remove outdated README.md and update favicon in index.html 2025-12-16 20:58:48 +08:00
src fix(i18n): fix English workflow desc font size with correct CSS selectors 2026-04-01 19:11:22 +08:00
.gitignore Add project status report and frontend documentation 2025-12-10 14:49:11 +08:00
index.html fix(i18n): set HTML lang attribute before Vue mounts via inline script 2026-04-02 14:21:09 +08:00
package-lock.json fix(security): upgrade axios, rollup, picomatch to fix 3 high severity vulnerabilities 2026-04-02 15:00:33 +08:00
package.json fix(security): upgrade axios, rollup, picomatch to fix 3 high severity vulnerabilities 2026-04-02 15:00:33 +08:00
vite.config.js fix: read VITE_API_BASE_URL from .env for Vite dev proxy (fixes #480) 2026-04-07 10:30:35 +08:00