prasi-srv/internal/server/server.ts

11 lines
282 B
TypeScript

import { config } from "utils/config";
import { g, startup } from "utils/global";
startup("site", async () => {
await config.init("site:site.json");
const ts = config.current?.deploy.current;
if (ts) {
// g.server = process.argv.includes("--ipc") ? "ipc" : "gz";
}
});