Skip to content

Commit

Permalink
Update firebase.provider.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
BaptisteLecat committed Apr 16, 2024
1 parent 7cdb002 commit c4c6236
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/providers/firebase.provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ export class FirebaseProvider {
admin.initializeApp();
} else {
// Set the Firebase Auth emulator host : https://stackoverflow.com/a/77929815/19101705
process.env['FIREBASE_AUTH_EMULATOR_HOST'] = 'localhost:9099';
process.env['FIRESTORE_EMULATOR_HOST'] = 'localhost:8080';
process.env['FIREBASE_AUTH_EMULATOR_HOST'] = '127.0.0.1:9099';
process.env['FIRESTORE_EMULATOR_HOST'] = '127.0.0.1:8080';

// Initialize Firebase Admin SDK
admin.initializeApp(
Expand Down

0 comments on commit c4c6236

Please sign in to comment.