Skip to content

Commit

Permalink
chore: Obfuscated Firebase API key [PT-187643494]
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dougmartin committed May 28, 2024
1 parent 5dd37fe commit ecf7160
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tecrock-simulation/src/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit ecf7160

Please sign in to comment.