diff options
author | Lukas Stabe <lukas@stabe.de> | 2020-09-26 02:45:31 +0000 |
---|---|---|
committer | Lukas Stabe <lukas@stabe.de> | 2020-09-26 02:45:31 +0000 |
commit | dab13c9bb3336aac4e44171f3074c4ce973b9782 (patch) | |
tree | 1e4592b6c38e9d230b76d9e0d485cb4be7c4f6f2 /src/listing.rs | |
parent | [wip] client-side color-scheme handling (diff) | |
download | miniserve-dab13c9bb3336aac4e44171f3074c4ce973b9782.tar.gz miniserve-dab13c9bb3336aac4e44171f3074c4ce973b9782.zip |
move css out of html into its own route
Diffstat (limited to 'src/listing.rs')
-rw-r--r-- | src/listing.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/listing.rs b/src/listing.rs index 40c84b3..322de73 100644 --- a/src/listing.rs +++ b/src/listing.rs @@ -151,6 +151,7 @@ pub fn directory_listing( file_upload: bool, random_route: Option<String>, favicon_route: String, + css_route: String, show_qrcode: bool, upload_route: String, tar_enabled: bool, @@ -336,6 +337,7 @@ pub fn directory_listing( false, false, &favicon_route, + &css_route, ) .into_string(), ), @@ -394,6 +396,7 @@ pub fn directory_listing( file_upload, &upload_route, &favicon_route, + &css_route, &encoded_dir, breadcrumbs, tar_enabled, |