Unverified Commit 90a6be80 authored by Timothy Jaeryang Baek's avatar Timothy Jaeryang Baek Committed by GitHub
Browse files

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

fix: socket.io client url
parents 2e4de209 a53f5d01
...@@ -110,7 +110,7 @@ ...@@ -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 }
}); });
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment