Skip to content

Commit

Permalink
exclude some unnecessary log paths
Browse files Browse the repository at this point in the history
  • Loading branch information
DolceTriade committed Jan 7, 2024
1 parent 3ce58d3 commit 35db0ed
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion blade/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,10 @@ cfg_if! {
App,
)
.app_data(web::Data::new(leptos_options.to_owned()))
.wrap(middleware::Logger::new("%t -- %a %s %U"))
.wrap(middleware::Logger::new("%t -- %a %s %U")
.exclude("/")
.exclude("/favicon.ico")
.exclude_regex("/pkg/.*"))
})
.disable_signals()
.bind(&addr)?
Expand Down

0 comments on commit 35db0ed

Please sign in to comment.