Skip to content

Commit a7c5553

Browse files
committed
Hide and regenerate Firebase API key
1 parent 0f03746 commit a7c5553

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

common/src/envs/prod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export const PROD_CONFIG: EnvConfig = {
3333
posthogKey: 'phc_xT16KyBj7GsWnAwifoH4HiWKTFhuohRrfy3t5DK6ZIv',
3434
domain: 'compassmeet.com',
3535
firebaseConfig: {
36-
apiKey: "AIzaSyAxzhj6bZuZ1TCw9xzibGccRHXiRWq6iy0",
36+
apiKey: process.env.NEXT_PUBLIC_FIREBASE_API_KEY || '',
3737
authDomain: "compass-130ba.firebaseapp.com",
3838
projectId: "compass-130ba",
3939
storageBucket: "compass-130ba.firebasestorage.app",

common/src/secrets.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export const secrets = (
1515
'TEST_CREATE_USER_KEY',
1616
'GEODB_API_KEY',
1717
'RESEND_KEY',
18+
'NEXT_PUBLIC_FIREBASE_API_KEY',
1819
// Some typescript voodoo to keep the string literal types while being not readonly.
1920
] as const
2021
).concat()

0 commit comments

Comments
 (0)