Make ops tool work in production mode
This commit is contained in:
@@ -13,6 +13,7 @@ fi
|
||||
|
||||
# For scripts that need config access
|
||||
export NODE_CONFIG_DIR="${script_dir}/config"
|
||||
export NODE_ENV=production
|
||||
|
||||
if [[ ! -e "${script}" ]]; then
|
||||
echo error: Script ${script} does not exist
|
||||
|
||||
Reference in New Issue
Block a user