fix(env): update variable validations (#40813)

This commit is contained in:
Mrugesh Mohapatra
2021-01-28 13:52:39 +05:30
committed by Mrugesh Mohapatra
parent 58c6c54c67
commit 0b944ddfde
3 changed files with 51 additions and 21 deletions

View File

@@ -30,11 +30,13 @@ const {
const locations = {
homeLocation,
chineseHome: !chineseHome ? 'https://chinese.freecodecamp.org' : chineseHome,
apiLocation,
forumLocation,
newsLocation,
radioLocation,
chineseHome
radioLocation: !radioLocation
? 'https://coderadio.freecodecamp.org'
: radioLocation
};
module.exports = Object.assign(locations, {