mirror of
https://github.com/open-webui/open-webui
synced 2025-02-17 18:46:57 +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);
|
||||
|
||||
if ($config) {
|
||||
const _socket = io(`${WEBUI_BASE_URL}`, {
|
||||
const _socket = io(`${WEBUI_BASE_URL}` || undefined, {
|
||||
path: '/ws/socket.io',
|
||||
auth: { token: localStorage.token }
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user