This commit is contained in:
2026-02-26 04:08:06 +01:00
parent 8177df7dd3
commit f7c0e927c7
39 changed files with 1003 additions and 306 deletions
+9 -2
View File
@@ -1,5 +1,7 @@
import { Command } from "commander";
import grabConfig from "../../functions/grab-config";
import grabConfig from "../../src/functions/grab-config";
import startServer from "../../src/functions/server/start-server";
import init from "../../src/functions/init";
export default function () {
return new Command("start")
@@ -7,7 +9,12 @@ export default function () {
.action(async () => {
console.log(`Starting production server ...`);
await init();
const config = await grabConfig();
global.CONFIG = config;
global.CONFIG = { ...config };
await startServer();
});
}