Merge branch 'canary' of https://github.com/kdurek/dokploy into feat/server-ip

This commit is contained in:
Krzysztof Durek
2024-11-17 22:08:00 +01:00
13 changed files with 37 additions and 27 deletions

View File

@@ -24,7 +24,7 @@ import { setupTerminalWebSocketServer } from "./wss/terminal";
config({ path: ".env" });
const PORT = Number.parseInt(process.env.PORT || "3000", 10);
const dev = process.env.NODE_ENV !== "production";
const app = next({ dev });
const app = next({ dev, turbopack: dev });
const handle = app.getRequestHandler();
void app.prepare().then(async () => {
try {