forked from apxtri/apxtri
force reindex all tribes at starting to reinit database add || true instead only smatchit
This commit is contained in:
parent
f8cb3a9580
commit
3e8c5b3d74
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user