Skip to content
Snippets Groups Projects
Commit e7e31d88 authored by Lloyd Hilaiel's avatar Lloyd Hilaiel
Browse files

in production_locales, only use local.json if nothing else is explicitly...

in production_locales, only use local.json if nothing else is explicitly configured in the environment
parent 9640893b
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@ var path = require('path');
process.env['VAR_PATH'] = '/tmp/browserid';
// Pick up production languages
process.env['CONFIG_FILES'] = path.join(__dirname, '..', 'config', 'local.json');
process.env['CONFIG_FILES'] = process.env['CONFIG_FILES'] || path.join(__dirname, '..', 'config', 'local.json');
var path = require('path'),
format = require('util').format,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment