From 34f80ef13ef754e8e7ddb249a0c5cea44d761486 Mon Sep 17 00:00:00 2001 From: philc Date: Thu, 7 Nov 2024 19:03:13 +0100 Subject: [PATCH] filter folder only in glob --- apxtri/apxtri.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apxtri/apxtri.js b/apxtri/apxtri.js index c64bd23..1c76a33 100755 --- a/apxtri/apxtri.js +++ b/apxtri/apxtri.js @@ -196,8 +196,8 @@ 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 = initadminapi.nginx.restart - ? initadminapi.nginx.restart + const nginrestart = inittribe.nginx.restart + ? inittribe.nginx.restart : fs.readJSONSync("../adminapi/apxtri/setup/initadminapi.json").nginx .restart; const { exec } = require("child_process");