diff --git a/core/corehttp/gateway_handler.go b/core/corehttp/gateway_handler.go index 96db4400b..07d0c59e1 100644 --- a/core/corehttp/gateway_handler.go +++ b/core/corehttp/gateway_handler.go @@ -400,7 +400,6 @@ func (i *gatewayHandler) serveFile(w http.ResponseWriter, req *http.Request, nam } w.Header().Set("Content-Type", ctype) - _, _ = content.Seek(0, io.SeekStart) http.ServeContent(w, req, name, modtime, content) }