rename to src/directory_listing.rs
This commit is contained in:
parent
98fbec274c
commit
a671e47edf
3 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
mod threaded_archiver;
|
||||
mod listing;
|
||||
mod directory_listing;
|
||||
mod web;
|
||||
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ pub async fn run(bind_addr: &str, root: &PathBuf) -> std::io::Result<()> {
|
|||
let static_files = Files::new("/", &root_)
|
||||
.show_files_listing()
|
||||
.redirect_to_slash_directory()
|
||||
.files_listing_renderer(crate::listing::directory_listing);
|
||||
.files_listing_renderer(crate::directory_listing::directory_listing);
|
||||
|
||||
App::new()
|
||||
.data(root_.clone())
|
||||
|
|
Loading…
Add table
Reference in a new issue