From 90e9db2babb8b6ddb961a77353de049654bdc109 Mon Sep 17 00:00:00 2001 From: Michael Esteban Date: Sat, 1 Feb 2025 15:28:02 +1000 Subject: [PATCH 1/2] attempt to encode title --- .../site/app/[locale]/next-data/og/[category]/[title]/route.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/site/app/[locale]/next-data/og/[category]/[title]/route.tsx b/apps/site/app/[locale]/next-data/og/[category]/[title]/route.tsx index 844c9fa6753f5..a391b38657c21 100644 --- a/apps/site/app/[locale]/next-data/og/[category]/[title]/route.tsx +++ b/apps/site/app/[locale]/next-data/og/[category]/[title]/route.tsx @@ -55,7 +55,7 @@ export const generateStaticParams = async () => [ { locale: defaultLocale.code, category: 'announcement', - title: 'Run JavaScript Everywhere', + title: encodeURIComponent('Run JavaScript Everywhere'), }, ]; From bcdfdfd7a5d3c8188ef753fdc5701eeb529da4dc Mon Sep 17 00:00:00 2001 From: Michael Esteban Date: Sat, 1 Feb 2025 15:56:43 +1000 Subject: [PATCH 2/2] remove spaces --- .../site/app/[locale]/next-data/og/[category]/[title]/route.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/site/app/[locale]/next-data/og/[category]/[title]/route.tsx b/apps/site/app/[locale]/next-data/og/[category]/[title]/route.tsx index a391b38657c21..cef2d43937c6a 100644 --- a/apps/site/app/[locale]/next-data/og/[category]/[title]/route.tsx +++ b/apps/site/app/[locale]/next-data/og/[category]/[title]/route.tsx @@ -55,7 +55,7 @@ export const generateStaticParams = async () => [ { locale: defaultLocale.code, category: 'announcement', - title: encodeURIComponent('Run JavaScript Everywhere'), + title: 'RunJavaScriptEverywhere', }, ];