diff --git a/static.go b/static.go index 13ac0fe..b06d40e 100644 --- a/static.go +++ b/static.go @@ -73,6 +73,6 @@ func Static(asset func(string) ([]byte, error), options ...Options) gin.HandlerF } http.ServeContent(c.Writer, c.Request, url, modtime, bytes.NewReader(b)) - c.Abort(-1) + c.Abort() } }