feat: remove nextjs production runtime (#1389)

This commit is contained in:
Carlos Florêncio
2026-06-18 18:36:48 +01:00
committed by GitHub
parent 2781556ead
commit aee1846cd5
368 changed files with 10228 additions and 3306 deletions
+3 -3
View File
@@ -41,11 +41,11 @@ export async function runDev({ repoRoot, backendPort, webPort }: DevOptions): Pr
const logLevel =
process.env.KANDEV_LOGGING_LEVEL?.trim() || process.env.KANDEV_LOG_LEVEL?.trim() || "info";
const webUrl = `http://localhost:${ports.webPort}`;
const appUrl = ports.backendUrl;
logStartupInfo({
header: "dev mode: using local repo",
ports,
primary: "web",
dbPath,
logLevel,
});
@@ -85,8 +85,8 @@ export async function runDev({ repoRoot, backendPort, webPort }: DevOptions): Pr
label: "web",
});
await waitForUrlReady(webUrl, webProc, healthTimeoutMs);
console.log(`[kandev] open: ${webUrl}`);
openBrowser(webUrl);
console.log(`[kandev] open: ${appUrl}`);
openBrowser(appUrl);
}
type DevBackendEnv = {