fix: Host API port conflict crashing startup on Windows (#743)

This commit is contained in:
paisley
2026-04-02 12:00:43 +08:00
committed by GitHub
Unverified
parent 06266cb4d2
commit 7e2c4d3835
8 changed files with 32 additions and 20 deletions

View File

@@ -30,7 +30,7 @@ describe('handleAppRoutes', () => {
const handled = await handleAppRoutes(
{ method: 'POST' } as IncomingMessage,
{} as ServerResponse,
new URL('http://127.0.0.1:3210/api/app/openclaw-doctor'),
new URL('http://127.0.0.1:13210/api/app/openclaw-doctor'),
{} as never,
);
@@ -48,7 +48,7 @@ describe('handleAppRoutes', () => {
const handled = await handleAppRoutes(
{ method: 'POST' } as IncomingMessage,
{} as ServerResponse,
new URL('http://127.0.0.1:3210/api/app/openclaw-doctor'),
new URL('http://127.0.0.1:13210/api/app/openclaw-doctor'),
{} as never,
);