fix: Add news to the env file

This commit is contained in:
Bouncey
2019-02-05 20:28:45 +00:00
committed by mrugesh mohapatra
parent 8276d477a6
commit 0369dfbf37

View File

@ -9,13 +9,15 @@ const {
HOME_LOCATION: home, HOME_LOCATION: home,
API_LOCATION: api, API_LOCATION: api,
FORUM_LOCATION: forum, FORUM_LOCATION: forum,
NEWS_LOCATION: news,
LOCALE: locale, LOCALE: locale,
} = process.env; } = process.env;
const locations = { const locations = {
homeLocation: home, homeLocation: home,
apiLocation: api, apiLocation: api,
forumLocation: forum forumLocation: forum,
newsLocation: news
}; };
module.exports = Object.assign(locations, { locale }); module.exports = Object.assign(locations, { locale });