Update https-proxy-agent など (#5497)

* Use proxy for web-push

* https-proxy-agent 3.0.0
This commit is contained in:
MeiMei
2019-10-14 01:53:28 +09:00
committed by syuilo
parent da69650505
commit 8da278a279
3 changed files with 9 additions and 6 deletions

View File

@ -29,7 +29,9 @@ export default async function(userId: string, type: string, body?: any) {
push.sendNotification(pushSubscription, JSON.stringify({
type, body
})).catch((err: any) => {
}), {
proxy: config.proxy
}).catch((err: any) => {
//swLogger.info(err.statusCode);
//swLogger.info(err.headers);
//swLogger.info(err.body);