fix new web site

This commit is contained in:
philc 2025-02-20 20:07:33 +01:00
parent b478ffcf4f
commit 4521c757ab

View File

@ -69,7 +69,6 @@ Wwws.getwco = (wconame, ctx) => {
}; };
webpageinit.pages[ctx.pagename] = { webpageinit.pages[ctx.pagename] = {
version: 1, version: 1,
confpage: {
language: ["en"], language: ["en"],
profils: ["anonymous"], profils: ["anonymous"],
itms: {}, itms: {},
@ -78,7 +77,6 @@ Wwws.getwco = (wconame, ctx) => {
ref: {}, ref: {},
schema: [], schema: [],
tpldata: {}, tpldata: {},
},
}; };
const wcoinfo = fs.readJSONSync(wcoconf); const wcoinfo = fs.readJSONSync(wcoconf);
const webpage = fs.existsSync(webconf) const webpage = fs.existsSync(webconf)