Skip to content

Commit 335f968

Browse files
committed
Merge branch 'develop' into bugfix/confirmAcct
merge develop
2 parents a1e1238 + 93b7dd2 commit 335f968

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ let corsOptions = {};
3636

3737
if (!Services.env.isProduction()) {
3838
corsOptions = {
39-
origin: [process.env.FRONTEND_ADDRESS_DEV],
39+
origin: [`http://${process.env.FRONTEND_ADDRESS_DEV}`],
4040
credentials: true
4141
};
4242
} else {
4343
// TODO: change this when necessary
4444
corsOptions = {
45-
origin: [process.env.FRONTEND_ADDRESS_DEPLOY],
45+
origin: [`https://${process.env.FRONTEND_ADDRESS_DEPLOY}`, `https://hackerapi.mchacks.ca`],
4646
credentials: true
4747
};
4848
}

docs/CNAME

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
hackerapi.mchacks.ca
1+
docs.mchacks.ca

0 commit comments

Comments
 (0)