diff options
Diffstat (limited to 'routers/api/packages/generic/generic.go')
-rw-r--r-- | routers/api/packages/generic/generic.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/packages/generic/generic.go b/routers/api/packages/generic/generic.go index 79e5afb03c..81891bec26 100644 --- a/routers/api/packages/generic/generic.go +++ b/routers/api/packages/generic/generic.go @@ -53,7 +53,7 @@ func DownloadPackageFile(ctx *context.Context) { } defer s.Close() - ctx.ServeStream(s, pf.Name) + ctx.ServeContent(pf.Name, s, pf.CreatedUnix.AsLocalTime()) } // UploadPackage uploads the specific generic package. |