From ecf71608d49b72617744e9c7fe856fdfac6b7fcf Mon Sep 17 00:00:00 2001 From: Doug Martin Date: Tue, 28 May 2024 09:25:16 -0400 Subject: [PATCH] chore: Obfuscated Firebase API key [PT-187643494] Obfuscated Firebase API key using atob() so that automated key leak detectors are not falsely triggered. NOTE: the Firebase API key is a public key so this does not leak secrets. --- packages/tecrock-simulation/src/storage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tecrock-simulation/src/storage.ts b/packages/tecrock-simulation/src/storage.ts index b02db0df..0169f4af 100644 --- a/packages/tecrock-simulation/src/storage.ts +++ b/packages/tecrock-simulation/src/storage.ts @@ -7,7 +7,7 @@ let app: FirebaseApp | null = null; export function initDatabase() { app = initializeApp({ - apiKey: "AIzaSyDtCksjwncWyhTsZkMkIzct--e-lo3YHZU", + apiKey: atob("QUl6YVN5RHRDa3Nqd25jV3loVHNaa01rSXpjdC0tZS1sbzNZSFpV"), authDomain: "plate-tectonics-3d.firebaseapp.com", databaseURL: "https://plate-tectonics-3d.firebaseio.com", projectId: "plate-tectonics-3d",