From bd572c775dc4b2741a8316a7833f6764049252bf Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sat, 20 Dec 2025 17:15:43 +0100 Subject: [PATCH] refactor: remove canvasHost port config --- docs/configuration.md | 1 - src/config/config.ts | 3 --- 2 files changed, 4 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index 6747069af..6b90c083a 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -255,7 +255,6 @@ The server: ``` Notes: -- `canvasHost.port` is deprecated/ignored (the Gateway port is always used). - The bind host follows `gateway.bind` (loopback/lan/tailnet). Disable with: diff --git a/src/config/config.ts b/src/config/config.ts index 82d604b96..e3accd805 100644 --- a/src/config/config.ts +++ b/src/config/config.ts @@ -97,8 +97,6 @@ export type CanvasHostConfig = { enabled?: boolean; /** Directory to serve (default: ~/clawd/canvas). */ root?: string; - /** HTTP port to listen on (deprecated; Gateway port is used). */ - port?: number; }; export type GatewayControlUiConfig = { @@ -351,7 +349,6 @@ const ClawdisSchema = z.object({ .object({ enabled: z.boolean().optional(), root: z.string().optional(), - port: z.number().int().positive().optional(), }) .optional(), gateway: z