chiark / gitweb /
daemon: Fix whitespace error
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 30 Mar 2022 19:46:54 +0000 (20:46 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 30 Mar 2022 19:47:02 +0000 (20:47 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
daemon/main.rs

index fb0f629b6c09eba8abd493a629931429b7ba7e18..0707e320995c052751e457e035d7f3ab712a6bf4 100644 (file)
@@ -494,11 +494,11 @@ async fn main() -> Result<(),StartupError> {
       .content_type(|ctype| ctype == mime::APPLICATION_JSON)
       .content_type_required(true);
 
-     let src_service = actix_files::Files::new("/_/src", &c.bundled_sources)
-       .show_files_listing()
-       .redirect_to_slash_directory()
-       .index_file("index.html")
-       .disable_content_disposition();
+    let src_service = actix_files::Files::new("/_/src", &c.bundled_sources)
+      .show_files_listing()
+      .redirect_to_slash_directory()
+      .index_file("index.html")
+      .disable_content_disposition();
 
     let app = actix_web::App::new()
       .service(services![