mirror of https://github.com/go-gitea/gitea
fix comment
This commit is contained in:
parent
484691be05
commit
41bd63b6e8
|
@ -137,7 +137,7 @@ func (b *Base) JSON(status int, content any) {
|
|||
}
|
||||
}
|
||||
|
||||
// JSON render content as JSON
|
||||
// HTMLString renders string as HTML
|
||||
func (b *Base) HTMLString(status int, html string) {
|
||||
b.Resp.Header().Set("Content-Type", "text/html;charset=utf-8")
|
||||
b.Resp.WriteHeader(status)
|
||||
|
|
Loading…
Reference in New Issue