Spaces:
Running
Running
Update index.html
Browse files- index.html +2 -2
index.html
CHANGED
|
@@ -243,7 +243,7 @@
|
|
| 243 |
import { getFirestore, doc, addDoc, onSnapshot, collection, setDoc, getDoc, query, setLogLevel, updateDoc, arrayUnion } from "https://www.gstatic.com/firebasejs/11.6.1/firebase-firestore.js";
|
| 244 |
|
| 245 |
const firebaseConfig = {
|
| 246 |
-
apiKey: "
|
| 247 |
authDomain: "neuronal-1f3b9.firebaseapp.com",
|
| 248 |
projectId: "neuronal-1f3b9",
|
| 249 |
storageBucket: "neuronal-1f3b9.firebasestorage.app",
|
|
@@ -252,7 +252,7 @@
|
|
| 252 |
measurementId: "G-102SEBLQFJ"
|
| 253 |
};
|
| 254 |
|
| 255 |
-
const DEFAULT_GEMINI_KEY = '
|
| 256 |
function getLocalGeminiKey() { try { return localStorage.getItem('GEMINI_API_KEY') || DEFAULT_GEMINI_KEY; } catch { return DEFAULT_GEMINI_KEY; } }
|
| 257 |
function setLocalGeminiKey(k) { try { localStorage.setItem('GEMINI_API_KEY', k || ''); } catch {} }
|
| 258 |
|
|
|
|
| 243 |
import { getFirestore, doc, addDoc, onSnapshot, collection, setDoc, getDoc, query, setLogLevel, updateDoc, arrayUnion } from "https://www.gstatic.com/firebasejs/11.6.1/firebase-firestore.js";
|
| 244 |
|
| 245 |
const firebaseConfig = {
|
| 246 |
+
apiKey: "__FIREBASE_API_KEY__",
|
| 247 |
authDomain: "neuronal-1f3b9.firebaseapp.com",
|
| 248 |
projectId: "neuronal-1f3b9",
|
| 249 |
storageBucket: "neuronal-1f3b9.firebasestorage.app",
|
|
|
|
| 252 |
measurementId: "G-102SEBLQFJ"
|
| 253 |
};
|
| 254 |
|
| 255 |
+
const DEFAULT_GEMINI_KEY = '__GEMINI_API_KEY__';
|
| 256 |
function getLocalGeminiKey() { try { return localStorage.getItem('GEMINI_API_KEY') || DEFAULT_GEMINI_KEY; } catch { return DEFAULT_GEMINI_KEY; } }
|
| 257 |
function setLocalGeminiKey(k) { try { localStorage.setItem('GEMINI_API_KEY', k || ''); } catch {} }
|
| 258 |
|