mirror of
https://github.com/Impostor/Impostor.git
synced 2026-10-20 01:46:11 +00:00
Merge pull request #470 from Impostor/fix/ip-space
Trim address before considering it further
This commit is contained in:
1 file changed
+1
-1
@@ -34,7 +34,7 @@ async function parseAddressAsync(serverAddress) {
|
||||
}
|
||||
|
||||
function parseForm() {
|
||||
const serverAddress = document.getElementById("address").value;
|
||||
const serverAddress = document.getElementById("address").value.trim();
|
||||
const serverPort = parseInt(document.getElementById("port").value) ?? DEFAULT_PORT;
|
||||
const serverName = document.getElementById("name").value || "Impostor";
|
||||
|
||||
|
||||
Reference in new issue
Block a user