We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c000066 commit 9cb8b7fCopy full SHA for 9cb8b7f
packages/server/src/routes/routing/v1/ipns/get.ts
@@ -61,8 +61,7 @@ export default function getIpnsV1 (fastify: FastifyInstance, helia: Helia): void
61
62
return await reply
63
.header('Content-Type', 'application/vnd.ipfs.ipns-record')
64
- // one cannot simply send rawRecord https://github.com/fastify/fastify/issues/5118
65
- .send(Buffer.from(rawRecord, 0, rawRecord.byteLength))
+ .send(rawRecord)
66
} catch (err: any) {
67
if (err.code === 'ERR_NOT_FOUND' || err.errors?.[0].code === 'ERR_NOT_FOUND' ||
68
err.name === 'NotFoundError' || err.errors?.[0].name === 'NotFoundError'
0 commit comments