mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-25 00:00:23 +02:00
Including tracing setup in all examples (#79)
This commit is contained in:
@@ -11,6 +11,8 @@ use tokio_rustls::{
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
tracing_subscriber::fmt::init();
|
||||
|
||||
let rustls_config = rustls_server_config(
|
||||
"examples/self_signed_certs/key.pem",
|
||||
"examples/self_signed_certs/cert.pem",
|
||||
|
||||
Reference in New Issue
Block a user