diff --git a/packages/api/src/routes/nfts-list.js b/packages/api/src/routes/nfts-list.js index 9d9d9c0910..68a56f8c27 100644 --- a/packages/api/src/routes/nfts-list.js +++ b/packages/api/src/routes/nfts-list.js @@ -40,6 +40,12 @@ export async function nftList(event, ctx) { ok: true, value: data.uploads?.map((n) => toNFTResponse(n)), }, - data.count != null ? { headers: { Count: data.count.toString() } } : {} + data.count != null + ? { + headers: { + 'Access-Control-Allow-Headers': 'Count', + Count: data.count.toString() + } + } : {} ) }