We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ebd870 commit 23db2d1Copy full SHA for 23db2d1
1 file changed
app.js
@@ -36,13 +36,13 @@ let corsOptions = {};
36
37
if (!Services.env.isProduction()) {
38
corsOptions = {
39
- origin: [process.env.FRONTEND_ADDRESS_DEV],
+ origin: [`http://${process.env.FRONTEND_ADDRESS_DEV}`],
40
credentials: true
41
};
42
} else {
43
// TODO: change this when necessary
44
45
- origin: [process.env.FRONTEND_ADDRESS_DEPLOY],
+ origin: [`https://${process.env.FRONTEND_ADDRESS_DEPLOY}`],
46
47
48
}
0 commit comments