fix: wrong env variable name

This commit is contained in:
Daniel García Aubert 2021-04-08 09:40:27 +02:00
parent d3d0baaac1
commit c2de4420ce

View File

@ -9,7 +9,7 @@ if (!process.env.NODE_ENV) {
process.exit(1); process.exit(1);
} }
let configFileName = process.env.NODE_ENV; let configFileName = process.env.NODE_ENV;
if (process.env.CARTO_WINDSHAFT_ENV_BASED_CONF) { if (process.env.CARTO_SQL_API_ENV_BASED_CONF) {
// we override the file with the one with env vars // we override the file with the one with env vars
configFileName = 'config'; configFileName = 'config';
} }