mirror of https://gitee.com/answerdev/answer.git
update custom.css add content-type
This commit is contained in:
parent
df99310ffd
commit
4c354090c7
|
@ -168,6 +168,7 @@ func (sc *SiteInfoController) GetCss(ctx *gin.Context) {
|
|||
ctx.String(http.StatusOK, "")
|
||||
return
|
||||
}
|
||||
ctx.Header("content-type", "text/css;charset=utf-8")
|
||||
ctx.String(http.StatusOK, resp.CustomCss)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue