diff options
Diffstat (limited to 'routers/api/packages/composer/composer.go')
-rw-r--r-- | routers/api/packages/composer/composer.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/packages/composer/composer.go b/routers/api/packages/composer/composer.go index 81cef39f1c..86ef7cbd9a 100644 --- a/routers/api/packages/composer/composer.go +++ b/routers/api/packages/composer/composer.go @@ -184,7 +184,7 @@ func DownloadPackageFile(ctx *context.Context) { } defer s.Close() - ctx.ServeStream(s, pf.Name) + ctx.ServeContent(pf.Name, s, pf.CreatedUnix.AsLocalTime()) } // UploadPackage creates a new package |