You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FE: adopt build-time API base (config.js) + build FE image in CI
Merge the deployment mechanism from main into this (sky-map) branch so the
map version is deployable the same way:
A) Build-time API base via config.js
- frontend/config.js: window.API_BASE (default /api)
- app.js reads window.API_BASE instead of hardcoding the API host
- index.html loads config.js before app.js
- docker/fe/Dockerfile bakes config.js from the API_BASE build arg
- docker-compose.yml dev build passes API_BASE=http://localhost:8000
B) CI builds and pushes ghcr.io/bolidozor/meteorpointer-fe (with the sky map)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments