fix: add pass thru for some subdomains (#38315)

* fix: add passthru for some subdomains

* fix: export whitelist correctly
This commit is contained in:
mrugesh
2020-03-03 20:32:04 +05:30
committed by GitHub
parent 0b1ba11959
commit ac922ac04e
2 changed files with 18 additions and 1 deletions

8
config/cors-settings.js Normal file
View File

@ -0,0 +1,8 @@
exports.whitelistOrigins = [
'https://www.freecodecamp.dev',
'https://www.freecodecamp.org',
'https://beta.freecodecamp.dev',
'https://beta.freecodecamp.org',
'https://chinese.freecodecamp.dev',
'https://chinese.freecodecamp.org'
];