From 61f4aeb603aedaec147cef7dc1613cfad349b004 Mon Sep 17 00:00:00 2001 From: philc Date: Thu, 7 Nov 2024 19:04:38 +0100 Subject: [PATCH] filter folder only in glob --- apxtri/apxtri.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apxtri/apxtri.js b/apxtri/apxtri.js index 1c76a33..dd815cf 100755 --- a/apxtri/apxtri.js +++ b/apxtri/apxtri.js @@ -196,7 +196,7 @@ apxtri.setuptribe = async (tribe, conf) => { // this command is ran by the setup.sh // grep -q '^127.0.0.1 adminapx.adminapi' /etc/hosts || echo '127.0.0.1 adminapx.adminapi' | sudo tee -a /etc/hosts > /dev/null const ips = await getip(); - const nginrestart = inittribe.nginx.restart + const nginxrestart = inittribe.nginx.restart ? inittribe.nginx.restart : fs.readJSONSync("../adminapi/apxtri/setup/initadminapi.json").nginx .restart;