From 1042920bde597b746ab9fb79a061f6c7df721000 Mon Sep 17 00:00:00 2001 From: Nicola Marcacci Rossi Date: Tue, 20 Feb 2024 14:29:21 +0100 Subject: [PATCH] fix --- routes/Auth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/Auth.js b/routes/Auth.js index dece6b5..0abd291 100644 --- a/routes/Auth.js +++ b/routes/Auth.js @@ -12,7 +12,7 @@ const jwt = require('jsonwebtoken') const sgMail = require('@sendgrid/mail') const webpush = require('web-push') // webpush.setGCMAPIKey('') -// webpush.setVapidDetails('https://weco.io', vapidPublicKey, vapidPrivateKey) +webpush.setVapidDetails('https://weco.io', vapidPublicKey, vapidPrivateKey) sgMail.setApiKey(process.env.SENDGRID_API_KEY) const authenticateToken = require('../middleware/authenticateToken')