Update https-proxy-agent など (#5497)
* Use proxy for web-push * https-proxy-agent 3.0.0
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user