filter folder only in glob

This commit is contained in:
philc 2024-11-07 19:04:38 +01:00
parent 34f80ef13e
commit 61f4aeb603

View File

@ -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;