mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-17 14:55:23 +00:00
Merge pull request #4138 from ther0bster/fix-socket-io-url
fix: socket.io client url
This commit is contained in:
commit
90a6be8001
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@
|
||||||
await WEBUI_NAME.set(backendConfig.name);
|
await WEBUI_NAME.set(backendConfig.name);
|
||||||
|
|
||||||
if ($config) {
|
if ($config) {
|
||||||
const _socket = io(`${WEBUI_BASE_URL}`, {
|
const _socket = io(`${WEBUI_BASE_URL}` || undefined, {
|
||||||
path: '/ws/socket.io',
|
path: '/ws/socket.io',
|
||||||
auth: { token: localStorage.token }
|
auth: { token: localStorage.token }
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue