adapt new setup
This commit is contained in:
parent
8f054981fa
commit
d93ebeefa7
@ -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: {} };
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user