mirror of
https://github.com/open-webui/open-webui
synced 2025-02-20 12:00:22 +00:00
Merge pull request #4138 from ther0bster/fix-socket-io-url
fix: socket.io client url
This commit is contained in:
commit
90a6be8001
@ -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 New Issue
Block a user