diff --git a/watchtower-plugin/src/main.rs b/watchtower-plugin/src/main.rs index 74ebaa1..a344084 100755 --- a/watchtower-plugin/src/main.rs +++ b/watchtower-plugin/src/main.rs @@ -107,7 +107,7 @@ async fn register( ); let tower_net_addr = { - if !host.starts_with("http://") { + if !host.starts_with("http://") && !host.starts_with("https://") { host = format!("http://{host}") } NetAddr::new(format!("{host}:{port}"))