make config class and separate migrations script

This commit is contained in:
Milo Schwartz 2025-01-01 17:50:12 -05:00
parent b199595100
commit 9732098799
No known key found for this signature in database
45 changed files with 163 additions and 156 deletions

View file

@ -4,7 +4,7 @@ import { parse } from "url";
import logger from "@server/logger";
import config from "@server/config";
const nextPort = config.server.next_port;
const nextPort = config.getRawConfig().server.next_port;
export async function createNextServer() {
// const app = next({ dev });