fix(og-image): resolve 404s, migrate middleware to proxy.ts, and fix local port conflict

This commit is contained in:
2026-02-17 01:31:13 +01:00
parent 11908cfc4e
commit 163b356920
13 changed files with 38 additions and 21 deletions

View File

@@ -22,7 +22,7 @@ async function verifyImage(path: string): Promise<boolean> {
console.log(`Checking ${url}...`);
const body = await response.text();
const body = await response.clone().text();
const contentType = response.headers.get('content-type');
if (response.status !== 200) {