Compare commits

...

1 Commits

Author SHA1 Message Date
Viktor Rådberg
ce9c9ca997 default api key 2024-03-31 19:31:16 +02:00
2 changed files with 4 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
{ {
"name": "life-trinket", "name": "life-trinket",
"private": true, "private": true,
"version": "0.9.43", "version": "0.9.44",
"type": "commonjs", "type": "commonjs",
"engines": { "engines": {
"node": ">=18", "node": ">=18",

View File

@@ -2,7 +2,9 @@ import { initializeApp } from 'firebase/app';
import { getAnalytics, logEvent } from 'firebase/analytics'; import { getAnalytics, logEvent } from 'firebase/analytics';
const firebaseConfig = { const firebaseConfig = {
apiKey: process.env.VITE_FIREBASE_API_KEY, apiKey:
import.meta.env.VITE_FIREBASE_API_KEY ??
'AIzaSyCZ1AHMb5zmWS4VoRnC-OBxTswUfrJ0mlY',
authDomain: 'life-trinket.firebaseapp.com', authDomain: 'life-trinket.firebaseapp.com',
projectId: 'life-trinket', projectId: 'life-trinket',
storageBucket: 'life-trinket.appspot.com', storageBucket: 'life-trinket.appspot.com',