Skip to content

Commit e578954

Browse files
author
Luca Rostagno
committed
Fix missing httpAgent for proxy support
1 parent 2d840ac commit e578954

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/sendFCM.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ const sendFCM = (regIds, data, settings) => {
6767
const opts = {
6868
credential:
6969
settings.fcm.credential || firebaseAdmin.credential.cert(settings.fcm.serviceAccountKey),
70+
httpAgent: settings.fcm.httpAgent || undefined
7071
};
7172

7273
const firebaseApp = firebaseAdmin.initializeApp(opts, appName);

0 commit comments

Comments
 (0)