Make ops tool work in production mode
This commit is contained in:
1 parent
faf99108e9
commit
07a887d26f
2 files changed
+3
-3
No files matched your search
@@ -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