better handling of NODE_ENV for jwt audience

This commit is contained in:
Avris 2021-08-30 00:23:59 +02:00
parent 7c0cb569c0
commit c555ba1aba
1 changed files with 3 additions and 0 deletions

View File

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