fix: send index page with content-type (#26)
This commit is contained in:
parent
63a7b530bb
commit
5ce7bde05c
1 changed files with 2 additions and 1 deletions
|
@ -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(())
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue