Closed jmandel closed 5 years ago
Added src/public/env.js (loaded in src/public/index.html prior to the app) which sets properties on window._env. Updated the infrastructure project to generate this file during container initialization based on a configMap.
e.g.
npm run build
should use something like https://medium.com/@tacomanator/environments-with-create-react-app-7b645312c09d to allow env vars likeREACT_APP_DEFAULT_FHIR_SERVER_URL
andREACT_APP_DEFAULT_CLIENT_HOST_URL
to control this.