core: 日志网址使用随机路径

This commit is contained in:
bin456789
2026-09-06 11:31:38 +08:00
parent 388bf257e9
commit d44c2017fd
4 changed files with 32 additions and 12 deletions
+1 -1
View File
@@ -143,7 +143,7 @@
}
}
var ws = new ReconnectingWebSocket('ws://' + location.host + '/');
var ws = new ReconnectingWebSocket(window.location.href.replace(/^http/, 'ws'));
ws.onopen = function () {
bufferMessage('WebSocket Connected.');
};