mirror of https://github.com/Xhofe/alist
🐛 index add write header now
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…
Reference in New Issue