Skip to content

Commit

Permalink
feat: test linkedin
Browse files Browse the repository at this point in the history
  • Loading branch information
dancixx committed Sep 13, 2024
1 parent ffddf07 commit 72cac3a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,11 @@ async fn main() {
)
.route("/rss.xml", get(rss_handler))
.fallback(file_and_error_handler)
.layer(
tower::ServiceBuilder::new()
.layer(TraceLayer::new_for_http())
.layer(axum::middleware::from_fn(redirect_www)),
)
// .layer(
// tower::ServiceBuilder::new()
// .layer(TraceLayer::new_for_http())
// .layer(axum::middleware::from_fn(redirect_www)),
// )
.with_state(app_state);

let listener = tokio::net::TcpListener::bind(&addr).await.unwrap();
Expand Down

0 comments on commit 72cac3a

Please sign in to comment.