From e52c379a55c6782b3209a37b68ddfb9c1dc089c4 Mon Sep 17 00:00:00 2001 From: Adolfo Reyna Date: Wed, 16 Oct 2024 16:50:11 -0400 Subject: [PATCH] Adding local development on dokku --- index.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index abb49aa..9e2c48a 100644 --- a/index.js +++ b/index.js @@ -22,7 +22,13 @@ const webPushEmail = process.env.WEB_PUSH_EMAIL; webPush.setVapidDetails('mailto:' + webPushEmail, publicVapidKey, privateVapidKey); var corsOptions = { - origin: ['http://localhost:8080', 'http://localhost:3000', "https://social.emmint.com", "https://fellowship.emmint.com"], + origin: [ + 'http://localhost:8080', + 'http://localhost:3000', + "https://social.emmint.com", + "https://fellowship.emmint.com", + "https://aeropi.local", + ], credentials: true };