From d6d3e61a9e99e5f49fb43d9a03ce33085f29f416 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sat, 23 May 2026 15:49:57 +0800 Subject: [PATCH] fix: add /wss/ prefix to WebSocket URL for nginx proxy URL should be /wss/harnessed_reasoning/reasoning_console.wss, not /harnessed_reasoning/reasoning_console.wss. Nginx consumes the /wss prefix to route to the WebSocket service. --- wwwroot/reasoning_console.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wwwroot/reasoning_console.js b/wwwroot/reasoning_console.js index 7fcecaf..b9c284e 100644 --- a/wwwroot/reasoning_console.js +++ b/wwwroot/reasoning_console.js @@ -19,7 +19,7 @@ if (!this.userId) this.userId = 'anonymous'; var protocol = window.location.protocol === 'https:' ? 'wss:' : 'ws:'; - var url = protocol + '//' + window.location.host + '/harnessed_reasoning/reasoning_console.wss'; + var url = protocol + '//' + window.location.host + '/wss/harnessed_reasoning/reasoning_console.wss'; this.ws = new WebSocket(url); this.ws.onopen = function() {