From 438426153f33dbcb9fed08e2a71bcc9c608f9d31 Mon Sep 17 00:00:00 2001 From: Ara Sadoyan Date: Wed, 18 Feb 2026 12:00:33 +0100 Subject: [PATCH] removed unwrap --- src/web/proxyhttp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/proxyhttp.rs b/src/web/proxyhttp.rs index fb73e54..683a8db 100644 --- a/src/web/proxyhttp.rs +++ b/src/web/proxyhttp.rs @@ -144,7 +144,7 @@ impl ProxyHttp for LB { let port = self.config.proxy_port_tls.unwrap_or(443); ctx.to_https = true; let mut s = String::with_capacity(64); - write!(&mut s, "https://{}:{}{}", host, port, uri).unwrap(); + write!(&mut s, "https://{}:{}{}", host, port, uri).unwrap_or_default(); ctx.redirect_to = Some(s); } }