Skip to content

Commit

Permalink
fix: Set content type explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmitrov committed Feb 7, 2023
1 parent de1bfea commit 8f87111
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/remote-cache/routes/get-artifact.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export const getArtifact: RouteOptions<

try {
const artifact = await this.location.getCachedArtifact(artifactId, teamId)
reply.header('Content-Type', 'application/octet-stream')
return reply.send(artifact)
} catch (err) {
throw notFound(`Artifact not found`, err)
Expand Down

0 comments on commit 8f87111

Please sign in to comment.