diff --git a/netlify/edge-functions/event.js b/netlify/edge-functions/event.js index 7715b65..631dd92 100644 --- a/netlify/edge-functions/event.js +++ b/netlify/edge-functions/event.js @@ -43,11 +43,11 @@ async function getEventInfo(eventId) { function replaceMeta(html, title, description, image, url) { return html .replace(/([^<]+)<\/title>/, `<title>$1: ${title}`) - .replace(//g, ``) - .replace(//, ``) - .replace(//g, ``) - .replace(//g, ``) - .replace(//g, ``) + .replace(//g, ``) + .replace(//, ``) + .replace(//g, ``) + .replace(//g, ``) + .replace(//g, ``) } function escapeHtml(str) { diff --git a/netlify/edge-functions/events.js b/netlify/edge-functions/events.js index 9d60888..5c4924b 100644 --- a/netlify/edge-functions/events.js +++ b/netlify/edge-functions/events.js @@ -72,11 +72,11 @@ async function getMetrics(eventIds) { function replaceMeta(html, title, description, image, url) { return html .replace(/([^<]+)<\/title>/, `<title>$1: ${title}`) - .replace(//g, ``) - .replace(//, ``) - .replace(//g, ``) - .replace(//g, ``) - .replace(//g, ``) + .replace(//g, ``) + .replace(//, ``) + .replace(//g, ``) + .replace(//g, ``) + .replace(//g, ``) } function escapeHtml(str) { diff --git a/package.json b/package.json index fe5d256..ab288b0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@poap-xyz/poap-family", - "version": "1.10.0", + "version": "1.10.1", "author": { "name": "POAP", "url": "https://poap.xyz"