mirror of https://github.com/rwf2/Rocket.git
Fix TLS example for updated bind interface.
This commit is contained in:
parent
85ca2bc01c
commit
7c50a58c99
|
@ -60,7 +60,7 @@ impl Redirector {
|
||||||
rocket::custom(&config.server)
|
rocket::custom(&config.server)
|
||||||
.manage(config)
|
.manage(config)
|
||||||
.mount("/", redirects)
|
.mount("/", redirects)
|
||||||
.bind_launch::<_, TcpListener>(addr)
|
.try_launch_on(TcpListener::bind(addr))
|
||||||
.await
|
.await
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue