Adding local development on dokku
This commit is contained in:
8
index.js
8
index.js
@@ -22,7 +22,13 @@ const webPushEmail = process.env.WEB_PUSH_EMAIL;
|
|||||||
webPush.setVapidDetails('mailto:' + webPushEmail, publicVapidKey, privateVapidKey);
|
webPush.setVapidDetails('mailto:' + webPushEmail, publicVapidKey, privateVapidKey);
|
||||||
|
|
||||||
var corsOptions = {
|
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
|
credentials: true
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user