enh
This commit is contained in:
parent
3487501d72
commit
37f5d48bbb
3 changed files with 1 additions and 1 deletions
0
apps/backend/creds/demo.txt
Normal file
0
apps/backend/creds/demo.txt
Normal file
|
|
@ -2,7 +2,7 @@ import admin from 'firebase-admin';
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
|
|
||||||
// Initialize Firebase Admin SDK
|
// 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) {
|
if (!admin.apps.length) {
|
||||||
admin.initializeApp({
|
admin.initializeApp({
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue