Hide and regenerate Firebase API key

This commit is contained in:
MartinBraquet
2025-09-06 14:58:30 +02:00
parent 0f03746c6a
commit a7c55530a4
2 changed files with 2 additions and 1 deletions

View File

@@ -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",

View File

@@ -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()