mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-09 00:59:02 +03:00
fix: send index page with content-type (#26)
This commit is contained in:
@@ -666,7 +666,8 @@ impl InnerService {
|
||||
),
|
||||
);
|
||||
*res.body_mut() = output.into();
|
||||
|
||||
res.headers_mut()
|
||||
.typed_insert(ContentType::from(mime_guess::mime::TEXT_HTML_UTF_8));
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user