Severity: medium
Category: bug
The default adsblol military source is wired to a dev-only Vite proxy path, so it works under vite dev but not under preview or static production hosting.
Evidence:
src/layers/military-layer.ts:22 sets the source URL to /proxy/adsb-mil.
src/layers/military-layer.ts:406-412 fetches that path directly for the default adsblol source.
vite.config.ts:24-33 defines /proxy/adsb-mil only inside the Vite dev server proxy.
Impact:
- the default military feed fails outside the dev server
- users see avoidable fetch errors and reduced military coverage in preview and production
- the app behavior differs materially between development and deployment
Recommended fix:
- move the proxy to the Express backend, or
- replace the dev-only path with a production-backed endpoint that exists in every environment
Severity: medium
Category: bug
The default
adsblolmilitary source is wired to a dev-only Vite proxy path, so it works undervite devbut not under preview or static production hosting.Evidence:
src/layers/military-layer.ts:22sets the source URL to/proxy/adsb-mil.src/layers/military-layer.ts:406-412fetches that path directly for the defaultadsblolsource.vite.config.ts:24-33defines/proxy/adsb-milonly inside the Vite dev server proxy.Impact:
Recommended fix: