diff --git a/native/find-webclient.js b/native/find-webclient.js index 2423a42c..71a50732 100644 --- a/native/find-webclient.js +++ b/native/find-webclient.js @@ -5,6 +5,7 @@ async function tryConnect(server) { if (!server.startsWith("http")) { server = "http://" + server; } + server = server.replace(/\/+$/, ""); const url = new URL("/System/Info/Public", server); const response = await fetch(url);