mirror of
https://github.com/actix/examples
synced 2025-06-27 09:29:02 +02:00
use rustls v0.21
This commit is contained in:
@ -36,7 +36,7 @@ async fn main() -> std::io::Result<()> {
|
||||
.service(web::redirect("/", "/index.html"))
|
||||
.service(Files::new("/static", "static"))
|
||||
})
|
||||
.bind_rustls("127.0.0.1:8443", config)?
|
||||
.bind_rustls_021("127.0.0.1:8443", config)?
|
||||
.run()
|
||||
.await
|
||||
}
|
||||
|
Reference in New Issue
Block a user