From 2349d19f017815e73ac5c31f1c597aa57548b9ae Mon Sep 17 00:00:00 2001 From: Juan M Date: Sun, 7 Apr 2024 05:11:22 -0300 Subject: [PATCH 1/2] Meta no space --- netlify/edge-functions/event.js | 10 +++++----- netlify/edge-functions/events.js | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) 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) { From 66b21b5fd1c17d9086fbb4d80370b7a44973eca1 Mon Sep 17 00:00:00 2001 From: Juan M Date: Sun, 7 Apr 2024 05:12:19 -0300 Subject: [PATCH 2/2] Version 1.10.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"