diff options
Diffstat (limited to 'routers/web/user/package.go')
-rw-r--r-- | routers/web/user/package.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/user/package.go b/routers/web/user/package.go index 59aaf07ff2..20d8e32d29 100644 --- a/routers/web/user/package.go +++ b/routers/web/user/package.go @@ -393,5 +393,5 @@ func DownloadPackageFile(ctx *context.Context) { } defer s.Close() - ctx.ServeStream(s, pf.Name) + ctx.ServeContent(pf.Name, s, pf.CreatedUnix.AsLocalTime()) } |