🐛 index add write header now

pull/548/head
微凉 2021-11-22 18:10:09 +08:00
parent 5db1ad4adf
commit b1695445e0
1 changed files with 1 additions and 0 deletions

View File

@ -32,5 +32,6 @@ func Static(r *gin.Engine) {
c.Header("Content-Type", "text/html")
_, _ = c.Writer.WriteString(conf.IndexHtml)
c.Writer.Flush()
c.Writer.WriteHeaderNow()
})
}