adapt new setup

This commit is contained in:
philc 2024-11-15 09:26:26 +01:00
parent 8f054981fa
commit d93ebeefa7

View File

@ -18,7 +18,7 @@ Wwws.initlocalwco=(tribwco,profils,lg)=>{
Wwws.initlocaldata = (tribe, appname, pagename, version, 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(fileparam); console.log(path.resolve(fileparam));
if (!fs.existsSync(fileparam)) { if (!fs.existsSync(fileparam)) {
return { status: 404, ref: "Wwws", msg: "appdoesnotexist", data: {} }; return { status: 404, ref: "Wwws", msg: "appdoesnotexist", data: {} };
} }