Merge pull request #4138 from ther0bster/fix-socket-io-url

fix: socket.io client url
This commit is contained in:
Timothy Jaeryang Baek
2024-07-27 16:17:36 +02:00
committed by GitHub

View File

@@ -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 }
});