This commit is contained in:
2024-11-10 08:52:12 +01:00
parent 749320dfca
commit a01ebbf61f
2 changed files with 3 additions and 5 deletions

View File

@@ -20,8 +20,6 @@ apxtri.main = async () => {
);
process.exit(0);
}
console.log("rrrrrrrrrrrrrrrrrrr")
console.log(path.resolve("../adminapi/objects/tribes/idx/tribes_dns.json"))
//Check prerequest data
if (
fs.existsSync("../adminapi/objects/tribes/idx/tribes_dns.json") &&
@@ -41,7 +39,7 @@ apxtri.main = async () => {
.forEach(async (t) => {
const tribe = path.basename(t);
//console.log(tribe);
if (!tribesdns[tribe]) {
if (![".",".."].includes(tribe) && !tribesdns[tribe]) {
await apxtri.setuptribe(tribe, conf);
}
});