diff --git a/apps/web/lib/agent-runner.ts b/apps/web/lib/agent-runner.ts index 7a2a0ffec97..93b4b429a58 100644 --- a/apps/web/lib/agent-runner.ts +++ b/apps/web/lib/agent-runner.ts @@ -556,7 +556,7 @@ class GatewayWsClient { if (this.ws) { return; } - const ws = new NodeWebSocket(this.settings.url); + const ws = new NodeWebSocket(this.settings.url, { origin: this.settings.url }); this.ws = ws; // Attach message/close handlers BEFORE awaiting "open" so that diff --git a/package.json b/package.json index 50898f82e65..7c62aac5359 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "denchclaw", - "version": "2.3.19", + "version": "2.3.20", "description": "Fully Managed OpenClaw Framework for managing your CRM, Sales Automation and Outreach agents. The only local productivity tool you need.", "keywords": [], "homepage": "https://github.com/DenchHQ/DenchClaw#readme",