feat: display articles
Some checks failed
Deploy to SFTP Server / build (push) Failing after 3m59s

This commit is contained in:
Max Richter
2025-10-22 17:43:04 +02:00
parent ae266dbdc5
commit 342f83c783
7 changed files with 14 additions and 18 deletions

View File

@@ -17,7 +17,7 @@ export async function generateThumbHash(
if (!imagePath) return;
let sp;
let sp: ReturnType<typeof sharp>;
if (imagePath.startsWith("https://") || imagePath.startsWith("http://")) {
const res = await fetch(imagePath);
if (!res.ok) {