refactor: remove canvasHost port config

main
Peter Steinberger 2025-12-20 17:15:43 +01:00
parent 65329496a7
commit bd572c775d
2 changed files with 0 additions and 4 deletions

View File

@ -255,7 +255,6 @@ The server:
``` ```
Notes: Notes:
- `canvasHost.port` is deprecated/ignored (the Gateway port is always used).
- The bind host follows `gateway.bind` (loopback/lan/tailnet). - The bind host follows `gateway.bind` (loopback/lan/tailnet).
Disable with: Disable with:

View File

@ -97,8 +97,6 @@ export type CanvasHostConfig = {
enabled?: boolean; enabled?: boolean;
/** Directory to serve (default: ~/clawd/canvas). */ /** Directory to serve (default: ~/clawd/canvas). */
root?: string; root?: string;
/** HTTP port to listen on (deprecated; Gateway port is used). */
port?: number;
}; };
export type GatewayControlUiConfig = { export type GatewayControlUiConfig = {
@ -351,7 +349,6 @@ const ClawdisSchema = z.object({
.object({ .object({
enabled: z.boolean().optional(), enabled: z.boolean().optional(),
root: z.string().optional(), root: z.string().optional(),
port: z.number().int().positive().optional(),
}) })
.optional(), .optional(),
gateway: z gateway: z