Update https-proxy-agent など (#5497)
* Use proxy for web-push * https-proxy-agent 3.0.0
This commit is contained in:
parent
da69650505
commit
8da278a279
3 changed files with 9 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue