Fix hostname

This commit is contained in:
2026-08-16 07:19:06 +02:00
parent 5c80cacbff
commit ddc8b0bf0f
+2 -1
View File
@@ -53,7 +53,8 @@ impl UserConnections {
return Err(anyhow::anyhow!("Client tampstamp wasn't correct")); return Err(anyhow::anyhow!("Client tampstamp wasn't correct"));
} }
if !server.config.hostnames.contains(&hostname) { if hostname != server.config.public_hostname || !server.config.hostnames.contains(&hostname)
{
send_socket( send_socket(
&mut socket, &mut socket,
&ClientMethod::Error { &ClientMethod::Error {