diff --git a/apps/backend/creds/demo.txt b/apps/backend/creds/demo.txt new file mode 100644 index 0000000..e69de29 diff --git a/apps/backend/assets/fcm-v1-account.json b/apps/backend/creds/fcm-v1-account.json similarity index 100% rename from apps/backend/assets/fcm-v1-account.json rename to apps/backend/creds/fcm-v1-account.json diff --git a/apps/backend/src/lib/firebase.ts b/apps/backend/src/lib/firebase.ts index 252bdc2..ce2e652 100644 --- a/apps/backend/src/lib/firebase.ts +++ b/apps/backend/src/lib/firebase.ts @@ -2,7 +2,7 @@ import admin from 'firebase-admin'; import path from 'path'; // Initialize Firebase Admin SDK -const serviceAccountPath = path.join(process.cwd(), 'assets', 'fcm-v1-account.json'); +const serviceAccountPath = path.join('.', 'creds', 'fcm-v1-account.json'); if (!admin.apps.length) { admin.initializeApp({