🐛 index add write header now
This commit is contained in:
parent
5db1ad4adf
commit
b1695445e0
@ -32,5 +32,6 @@ func Static(r *gin.Engine) {
|
|||||||
c.Header("Content-Type", "text/html")
|
c.Header("Content-Type", "text/html")
|
||||||
_, _ = c.Writer.WriteString(conf.IndexHtml)
|
_, _ = c.Writer.WriteString(conf.IndexHtml)
|
||||||
c.Writer.Flush()
|
c.Writer.Flush()
|
||||||
|
c.Writer.WriteHeaderNow()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user