manage new setup

This commit is contained in:
philc 2024-11-15 09:32:52 +01:00
parent 0fe5643482
commit 91945ff3fc

View File

@ -17,7 +17,7 @@ Wwws.initlocalwco=(tribwco,profils,lg)=>{
Wwws.initlocaldata = (tribe, appname, pagename, version, profils, lg) => {
const fileparam = `../../${tribe}/objects/wwws/itm/${appname}.json`;
const fileparam = `../${tribe}/objects/wwws/itm/${appname}.json`;
console.log(path.resolve(fileparam));
if (!fs.existsSync(fileparam)) {
return { status: 404, ref: "Wwws", msg: "appdoesnotexist", data: {} };