diff --git a/netlify/edge-functions/event.js b/netlify/edge-functions/event.js index a3855f2..bbebf20 100644 --- a/netlify/edge-functions/event.js +++ b/netlify/edge-functions/event.js @@ -39,6 +39,15 @@ export default async function handler(request, context) { }) } + if (eventInfo == null) { + return new Response(html, { + status: 404, + headers: { + 'content-type': 'text/html', + }, + }) + } + return new Response( appendFrame( replaceMeta( diff --git a/package.json b/package.json index e8bdf10..024339b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@poap-xyz/poap-family", - "version": "1.12.6", + "version": "1.12.7", "author": { "name": "POAP", "url": "https://poap.xyz"