Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/web.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
.files_listing_renderer(crate::directory_listing::directory_listing);

App::new()
.app_data(root_.clone())
.app_data(web::Data::new(root_.clone()))
.wrap(middleware::Logger::default())
.service(favicon_ico)
.service(handle_tar)
Expand Down Expand Up @@ -56,7 +56,7 @@
.content_type("application/x-tar")
.streaming(stream);

response

Check failure on line 59 in src/web.rs

View workflow job for this annotation

GitHub Actions / build (stable)

returning the result of a `let` binding from a block
}

const FAVICON_ICO: &[u8] = include_bytes!("favicon.png");
Expand Down
Loading