refactor: remove canvasHost port config
parent
65329496a7
commit
bd572c775d
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue