fix rebuild typings

This commit is contained in:
Rizky 2024-08-21 19:17:28 +07:00
parent 400c3f2163
commit 5f04228147
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
import { code } from "../ws/sync/code/code"; import { code } from "../ws/sync/code/code";
import { initFrontEnd } from "../ws/sync/code/parts/init/frontend"; import { initFrontEnd } from "../ws/sync/code/parts/init/frontend";
import { initServer } from "../ws/sync/code/parts/init/server"; import { initServer } from "../ws/sync/code/parts/init/server";
import { initTypings } from "../ws/sync/code/parts/init/typings";
export const _ = { export const _ = {
url: "/rebuild/:id_site", url: "/rebuild/:id_site",
@ -11,7 +12,7 @@ export const _ = {
// delete server[id_site]; // delete server[id_site];
await initFrontEnd(root, id_site, true); await initFrontEnd(root, id_site, true);
await initServer(root, id_site, true); await initServer(root, id_site, true);
// await initTypings(root, id_site, true); await initTypings(root, id_site, true);
return "ok"; return "ok";
}, },