mirror of
https://github.com/talaia-labs/rust-teos.git
synced 2026-08-13 12:33:22 +02:00
Allow watchtower client to call https endoints
This commit is contained in:
parent
316b0c1d87
commit
3fd4f41325
1 changed files with 1 additions and 1 deletions
|
|
@ -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}"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue