Update: Cors Test
This commit is contained in:
parent
ae10848b63
commit
f328af51c5
1 changed files with 2 additions and 2 deletions
|
|
@ -4,8 +4,8 @@ module.exports.cors = cors;
|
||||||
const allowList = [
|
const allowList = [
|
||||||
'http://127.0.0.1:4200',
|
'http://127.0.0.1:4200',
|
||||||
'http://127.0.0.1:4201',
|
'http://127.0.0.1:4201',
|
||||||
'https://admin-polynotfound.herokuapp.com/',
|
'https://admin-polynotfound.herokuapp.com',
|
||||||
'https://polynotfound.herokuapp.com/'
|
'https://polynotfound.herokuapp.com'
|
||||||
];
|
];
|
||||||
|
|
||||||
const corsOptionsDelegate = function(req, callback) {
|
const corsOptionsDelegate = function(req, callback) {
|
||||||
|
|
|
||||||
Reference in a new issue