From 3e8c5b3d748b609c4662bb8fb0de721bf07b310d Mon Sep 17 00:00:00 2001 From: philc Date: Wed, 4 Sep 2024 10:17:10 +0200 Subject: [PATCH] force reindex all tribes at starting to reinit database add || true instead only smatchit --- apxtri.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apxtri.js b/apxtri.js index 8cd43d1..93e4f83 100755 --- a/apxtri.js +++ b/apxtri.js @@ -42,7 +42,7 @@ tribeIds.forEach((t) => { const dm = d.split(".").slice(-2).join("."); if (!doms.includes(dm)) doms.push(dm); //reindex database - if (t == "smatchit") { + if (t == "smatchit" || true) { glob.sync(`../../${t}/objects/*`).forEach(o => { console.log(t, o) Odmdb.runidx(o)