adapt new setup

This commit is contained in:
philc 2024-11-15 09:30:26 +01:00
parent d93ebeefa7
commit 0fe5643482

View File

@ -17,7 +17,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(path.resolve(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: {} };