diff --git a/models/Odmdb.js b/models/Odmdb.js index 530a53f..5dee504 100644 --- a/models/Odmdb.js +++ b/models/Odmdb.js @@ -597,7 +597,6 @@ Odmdb.cud = (objectPathname, crud, itm, role, runindex = true) => { //if (log) console.log(currentmod,"getschema", getschema); //rebuild index if requested if (log) console.log(currentmod,"runidx", runindex); - if (log) console.log(currentmod,objectPathname); if (runindex) Odmdb.runidx(objectPathname, getschema.data.schema); getschema.data.conf.lastupdatedata = dayjs().toISOString(); fs.outputJSONSync(`${objectPathname}/conf.json`, getschema.data.conf); diff --git a/package.json b/package.json index a83a4d3..c467a53 100755 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "dev": "NODE_MODE=dev node apxtri.js", "unittest": "node unittest.js", "tar2prod": "rm ../objects/wwws/cdn/share/apxtriV* && tar -czf ../objects/wwws/cdn/share/apxtriV$version.tar --exclude='node_modules' --exclude='.git' ../../adminapi/apxtri ../../adminapi/schema ../../adminapi/objects ../../adminapi/template ../../itm/adminapi.json", - "apidoc": "apidoc -c ../../../conf/apidoc/apidoc_$tribe.json -o ../../$tribe/objects/wwws/cdn/apidoc/", + "apidoc": "apidoc -c ../../../conf/apidoc/apidoc_$tribe.json -o ../../$tribe/objects/wwws/apidoc/", "publishtestwall": "scp -r /media/phil/usbfarm/apxtowns/dev-ants/tribes/$space phil@wall-ants://home/phil/apxtowns/testwall-ants/tribes/$space/..", "publishwall": "scp -r /media/phil/usbfarm/apxtowns/dev-ants/tribes/$space phil@wall-ants://home/phil/apxtowns/wall-ants/tribes/$space/..", "publishhouse": "scp -r /media/phil/usbfarm/apxtowns/dev-ants/tribes/$space phil@house-ants://home/phil/apxtowns/house-ants/tribes/$space/.."