aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--middleware/src/app/[gameName]/page.tsx5
-rw-r--r--site/public/locales/en/translation.json2
2 files changed, 5 insertions, 2 deletions
diff --git a/middleware/src/app/[gameName]/page.tsx b/middleware/src/app/[gameName]/page.tsx
index bce87c8..f87edc1 100644
--- a/middleware/src/app/[gameName]/page.tsx
+++ b/middleware/src/app/[gameName]/page.tsx
@@ -255,7 +255,10 @@ export default async function GamePage({
is_ai_summary: Boolean(row.is_ai_summary),
en_headline: row.en_headline as string | null,
en_content: row.en_content as string | null,
- images,
+ images: images.map(img => ({
+ image: String(img.image),
+ link: img.link ? String(img.link) : null
+ })),
};
}
}
diff --git a/site/public/locales/en/translation.json b/site/public/locales/en/translation.json
index 206e887..02a3c2c 100644
--- a/site/public/locales/en/translation.json
+++ b/site/public/locales/en/translation.json
@@ -18,7 +18,7 @@
"ai_summary_note": "The information above is written by AI",
"read_more": "READ MORE",
"copy_link_to_post": "Copy Link to Post",
- "copy_link_notif": "Copied Perma Link to Post)",
+ "copy_link_notif": "Copied Perma Link to Post",
"subscribed_to_games_count": "Subscribed to",
"games": "game(s)",
"gameselector": {
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage