Skip to content

Commit 5184d5e

Browse files
committed
Merge branch 'use-content-type-application-proto-for-pyroscope-querier-responses'
2 parents 4f0fcad + 3f29056 commit 5184d5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyroscope/shared.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const wrapResponse = (hndl) => {
6666
const strRes = JSON.stringify(normalizeProtoResponse(_res.toObject()))
6767
return res.code(200).send(strRes)
6868
}
69-
return res.code(200).send(Buffer.from(_res.serializeBinary()))
69+
return res.code(200).type('application/proto').send(Buffer.from(_res.serializeBinary()))
7070
}
7171
}
7272

0 commit comments

Comments
 (0)