Server Component - Env Config

Environment variables rendered in a server component (server-side)

Environment Config

CONFIG_FILES_LOADED: default.json, staging.json, custom-environment-variables.json
COMMIT_ID: local-development
HOST_NAME: https://staging.mogofintech.ca
APP_ENV (Mogo OCI Environments: local|qa|dev|staging|prod): staging
ENVIRONMENT (NextJS Build Mode: production|development|test): production
AUTH_MODE: disabled

SOA Config:

SOA_WEB_ORIGIN: https://staging.mogofintech.ca
SOA_API_ORIGIN: https://staging.mogofintech.ca

Lending Config:

LENDING_WEB_ORIGIN: https://lending-web.staging.mogofintech.ca
LENDING_API_ORIGIN: https://lending-api.staging.mogofintech.ca

These values are inlined at build time via next.config.ts env object