ソースを参照

fix: don't break dev tests

ther0bster 9 ヶ月 前
コミット
a53f5d01aa
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/routes/+layout.svelte

+ 1 - 1
src/routes/+layout.svelte

@@ -110,7 +110,7 @@
 			await WEBUI_NAME.set(backendConfig.name);
 
 			if ($config) {
-				const _socket = io({
+				const _socket = io(`${WEBUI_BASE_URL}` || undefined, {
 					path: '/ws/socket.io',
 					auth: { token: localStorage.token }
 				});