modif archi apxtri

This commit is contained in:
2024-03-15 08:49:23 +01:00
parent 17a1978dd4
commit b025800e26
36 changed files with 270 additions and 6433 deletions

View File

@@ -1,6 +1,6 @@
const fs = require("fs-extra");
const dayjs = require("dayjs");
const conf = require(`../../conf/townconf.json`);
const conf = require(`../../../../conf/townconf.json`);
const l = {};
l.context="";
l.og = (...infos) => {
@@ -19,7 +19,7 @@ l.og = (...infos) => {
};
l.ogprod = (tribe,info) => {
const logf = `../../nationchains/tribes/${tribe}/logs/apxtri/apxtri_${tribe}.log`;
const logf = `../../tribes/${tribe}/logs/apxtri/apxtri_${tribe}.log`;
const msg = `${days.js().toISOString()}###${l.context}###${tribe}###${info}`;
fs.appendFileSync(logf, msg);
console.log(msg)