fix: Index content-type missing problem

This commit is contained in:
Yuxing Deng
2024-07-25 10:44:59 +08:00
parent eacc47482e
commit 9429abc2ca

View File

@@ -132,7 +132,6 @@ func (h *Handler) IndexFile() http.Handler {
http.NotFoundHandler().ServeHTTP(w, r)
return
}
w.WriteHeader(http.StatusOK)
_, _ = w.Write(rtn)
}))
}