fix: send index page with content-type (#26)
parent
63a7b530bb
commit
5ce7bde05c
|
@ -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 New Issue