mirror of
https://github.com/Tim-Paik/srv.git
synced 2024-10-13 00:29:43 +00:00
0.1.8-beta fix content-type error
This commit is contained in:
@ -48,7 +48,7 @@ struct IndexContext<'r> {
|
||||
|
||||
#[derive(Responder)]
|
||||
enum Resp {
|
||||
#[response(status = 200)]
|
||||
#[response(status = 200, content_type = "text/html; charset=utf-8")]
|
||||
Index(Template),
|
||||
#[response(status = 404)]
|
||||
NotFound(&'static str),
|
||||
|
Reference in New Issue
Block a user