Update: Cors Test

This commit is contained in:
Yûki VACHOT 2021-12-23 13:25:35 +01:00
parent ae10848b63
commit f328af51c5

View file

@ -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) {