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.
This commit is contained in:
yumoqing 2026-05-23 15:49:57 +08:00
parent 42fd93b706
commit d6d3e61a9e

View File

@ -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() {