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