diff --git a/.gitignore b/.gitignore index d636ea7..5821e17 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,4 @@ package-lock.json *.njsproj *.sln *.sw? +.env.local diff --git a/src/config.ts b/src/config.ts index 787abd9..c9e6cd7 100644 --- a/src/config.ts +++ b/src/config.ts @@ -3,6 +3,7 @@ // Default values work on localhost:3000 and foomedical.com // Replace these values with your own values for production -export const MEDPLUM_PROJECT_ID = '9602358d-eeb0-4de8-bccf-e2438b5c9162'; +export const MEDPLUM_PROJECT_ID = + import.meta.env.VITE_MEDPLUM_PROJECT_ID ?? '9602358d-eeb0-4de8-bccf-e2438b5c9162'; export const MEDPLUM_GOOGLE_CLIENT_ID = '679052511930-8dqur4mmg8egbttgos5pmr4ljtf3etbb.apps.googleusercontent.com'; export const MEDPLUM_RECAPTCHA_SITE_KEY = '6LfFd_8gAAAAAOCVrZQ_aF2CN5b7s91NEYIu5GxL';