diff --git a/src/web.rs b/src/web.rs index 1601eb8..8f3336c 100644 --- a/src/web.rs +++ b/src/web.rs @@ -42,7 +42,7 @@ async fn handle_tar(req: HttpRequest, root: web::Data, web::Path(tail): } if !(fullpath.is_dir()) { - return Ok(HttpResponse::NotFound().body("Directory not found")); + return Ok(HttpResponse::NotFound().body("Directory not found\n")); } let stream = crate::threaded_archiver::stream_tar_in_thread(fullpath)