From 51f974fb371b6d386b180f985e8cfd68b5dc6ed9 Mon Sep 17 00:00:00 2001 From: evanalif113 Date: Thu, 31 Oct 2024 11:42:29 +0700 Subject: [PATCH] Refactor .gitignore and fireconfig.js --- .gitignore | 1 + public/script/fireconfig.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 06c02b3..268d54a 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ node_modules/ Dashboard-Pusdatin-Klimatologi.code-workspace .github/workflows/firebase-hosting-merge.yml .github/workflows/firebase-hosting-pull-request.yml +.env public/script/fireconfig.js diff --git a/public/script/fireconfig.js b/public/script/fireconfig.js index 90e4e44..6e14ae9 100644 --- a/public/script/fireconfig.js +++ b/public/script/fireconfig.js @@ -4,7 +4,7 @@ import { getAnalytics } from "https://www.gstatic.com/firebasejs/10.14.1/firebas // Konfigurasi Firebase const firebaseConfig = { - apiKey: "AIzaSyDalcCwwOthPMjC3umkpQECqlQQj699FTY", + apiKey: `${process.env.API_KEY}`, authDomain: "staklimjerukagung.firebaseapp.com", databaseURL: "https://staklimjerukagung-default-rtdb.asia-southeast1.firebasedatabase.app", projectId: "staklimjerukagung",