fix copy tracker empty
This commit is contained in:
parent
0370149915
commit
da8d811c68
@ -51,9 +51,11 @@ Wwws.getwco = (wconame, ctx) => {
|
|||||||
wconame == "tracker" &&
|
wconame == "tracker" &&
|
||||||
!fs.pathExistsSync(`../${ctx.tribe}/objects/wwws/cdn/log`)
|
!fs.pathExistsSync(`../${ctx.tribe}/objects/wwws/cdn/log`)
|
||||||
) {
|
) {
|
||||||
|
fs.mkdirSync(`../${ctx.tribe}/objects/wwws/cdn/`, { recursive: true });
|
||||||
fs.cpSync(
|
fs.cpSync(
|
||||||
`../adminapi/objects/wwws/cdn/log`,
|
`../adminapi/objects/wwws/cdn/log`,
|
||||||
`../${ctx.tribe}/objects/wwws/cdn/`
|
`../${ctx.tribe}/objects/wwws/cdn/`,
|
||||||
|
{ recursive: true }
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
const webconf = `../${ctx.tribe}/objects/wwws/itm/${ctx.xapp}.json`;
|
const webconf = `../${ctx.tribe}/objects/wwws/itm/${ctx.xapp}.json`;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user