refactor: remove canvasHost port config
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user