diff --git a/common/src/envs/prod.ts b/common/src/envs/prod.ts index 51fe3743..c721c4ed 100644 --- a/common/src/envs/prod.ts +++ b/common/src/envs/prod.ts @@ -33,7 +33,7 @@ export const PROD_CONFIG: EnvConfig = { posthogKey: 'phc_xT16KyBj7GsWnAwifoH4HiWKTFhuohRrfy3t5DK6ZIv', domain: 'compassmeet.com', firebaseConfig: { - apiKey: "AIzaSyAxzhj6bZuZ1TCw9xzibGccRHXiRWq6iy0", + apiKey: process.env.NEXT_PUBLIC_FIREBASE_API_KEY || '', authDomain: "compass-130ba.firebaseapp.com", projectId: "compass-130ba", storageBucket: "compass-130ba.firebasestorage.app", diff --git a/common/src/secrets.ts b/common/src/secrets.ts index 17d5d1eb..010bebbb 100644 --- a/common/src/secrets.ts +++ b/common/src/secrets.ts @@ -15,6 +15,7 @@ export const secrets = ( 'TEST_CREATE_USER_KEY', 'GEODB_API_KEY', 'RESEND_KEY', + 'NEXT_PUBLIC_FIREBASE_API_KEY', // Some typescript voodoo to keep the string literal types while being not readonly. ] as const ).concat()