1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-10-24 01:46:07 +02:00

migrate storage to firebase 10

This commit is contained in:
Kushagra Gour
2024-05-10 13:19:38 +05:30
parent 1e119c91e4
commit 9be78b9afd
2 changed files with 32 additions and 15 deletions

View File

@@ -1,6 +1,7 @@
import { initializeApp } from 'firebase/app';
import { getAuth } from 'firebase/auth';
import { getFirestore } from 'firebase/firestore';
import { getStorage } from 'firebase/storage';
const config = {
apiKey: 'AIzaSyBl8Dz7ZOE7aP75mipYl2zKdLSRzBU2fFc',
@@ -16,3 +17,4 @@ export { app };
export const auth = getAuth(app);
export const db = getFirestore(app);
export const storage = getStorage(app);