update custom.css add content-type

This commit is contained in:
aichy126 2022-12-15 15:39:43 +08:00
parent df99310ffd
commit 4c354090c7
1 changed files with 1 additions and 0 deletions

View File

@ -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)
}