diff --git a/ling_chair_http/index.html b/ling_chair_http/index.html index b5a2eed..e8dc5d1 100644 --- a/ling_chair_http/index.html +++ b/ling_chair_http/index.html @@ -170,7 +170,7 @@ cloud_circle + n-input-ls="server" n-id="dialogSignServer" onblur="setupClient(viewBinding.dialogSignServer.val())" />
account_circle diff --git a/ling_chair_http/index.js b/ling_chair_http/index.js index 928a8e4..8cd5fcc 100644 --- a/ling_chair_http/index.js +++ b/ling_chair_http/index.js @@ -691,7 +691,7 @@ if (!localStorage.refreshToken || localStorage.refreshToken === "") let client function setUpClient(server) { - if (server) + if (server && server !== "") client = new io(server, { auth: { name: localStorage.isSignIn === "false" ? null : localStorage.userName