Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
magiclen committed Nov 15, 2023
1 parent f441c5e commit 38be474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ async fn run(socket_file_path: &Path) -> anyhow::Result<AppResult> {
uds
};

let app: Router = Router::new()
let app = Router::new()
.route("/", any(index_handler))
.layer(SetResponseHeaderLayer::overriding(
header::CACHE_CONTROL,
Expand Down

0 comments on commit 38be474

Please sign in to comment.