feat: dynamic media page og images

This commit is contained in:
Cory Dransfeldt 2024-05-20 09:10:37 -07:00
parent bc03c708a6
commit 00440c24d9
No known key found for this signature in database
29 changed files with 46 additions and 9 deletions

View file

@ -16,7 +16,7 @@ export default async function () {
title: book['title'],
authors,
description: book['description'],
image: encodeURIComponent(book['thumbnail'].replace('&edge=curl', '')),
image: book['thumbnail'],
url: `https://openlibrary.org/isbn/${book['isbn']}`,
date,
status: book['status'],