diff --git a/src/handlers/static_files.rs b/src/handlers/static_files.rs index 50c433b..62f4135 100644 --- a/src/handlers/static_files.rs +++ b/src/handlers/static_files.rs @@ -17,6 +17,7 @@ pub async fn serve_static_files(path: web::Path) -> impl Responder { Some("gif") => "image/gif", Some("svg") => "image/svg+xml", Some("webp") => "image/webp", + Some("txt") => "text/plain", Some("css") => "text/css", Some("js") => "application/javascript", Some("html") => "text/html",