fix: resolve gateway route using the parsed hostname

This commit is contained in:
Kevin Yue committed 2026-11-01 23:35:53 +08:00
1 parent d2fcf66be8
commit fabc7d4461
1 file changed
+1 -1
+1 -1
View File
@@ -101,7 +101,7 @@ impl GatewayLoginClient {
context context
.client_ip() .client_ip()
.map(str::to_owned) .map(str::to_owned)
.or_else(|| detect_local_ipv4(context.host())) .or_else(|| self.origin.host_str().and_then(detect_local_ipv4))
}); });
let request = receive_gateway_login( let request = receive_gateway_login(
&self.origin, &self.origin,