mams_frontend/.env.production

8 lines
519 B
Plaintext

# Production build for mamsv2.nafith.om (static files) with the backend on https://mamsbe.nafith.om (at its root).
# The front end calls /api on its own host; Apache forwards /api/ to the backend (see deploy/apache-mamsv2.conf),
# so the browser only ever talks to one origin and the session cookie works.
VITE_BASE=/
VITE_API_BASE=/api
# the backend hands out report/attachment links on its own host; the app fetches them through /api instead
VITE_BACKEND_PUBLIC_ORIGIN=https://mamsbe.nafith.om,https://mams.nafith.om