better handling of NODE_ENV for jwt audience
This commit is contained in:
parent
7c0cb569c0
commit
c555ba1aba
|
@ -13,6 +13,9 @@ const banner = process.env.BASE_URL + '/api/banner/zaimki.png';
|
|||
const colour = '#C71585';
|
||||
|
||||
process.env.LOCALE = locale;
|
||||
if (process.env.ENV) {
|
||||
process.env.NODE_ENV = process.env.ENV;
|
||||
}
|
||||
|
||||
const allVersionsUrls = buildList(function*() {
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
|
|
Reference in New Issue