Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
90a6be80
Unverified
Commit
90a6be80
authored
Jul 27, 2024
by
Timothy Jaeryang Baek
Committed by
GitHub
Jul 27, 2024
Browse files
Merge pull request #4138 from ther0bster/fix-socket-io-url
fix: socket.io client url
parents
2e4de209
a53f5d01
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/routes/+layout.svelte
src/routes/+layout.svelte
+1
-1
No files found.
src/routes/+layout.svelte
View file @
90a6be80
...
@@ -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 }
});
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment