fix(og): verified font and infrastructure fix

- Fixed font corruption: Replaced WOFF2/HTML stubs with valid binary WOFF fonts.
- Verified local rendering: check:og script now passes on local production build.
- Robust infrastructure: Guaranteed Traefik bypass with Host match and priority 2000.
- Middleware bypass: Ensured OG routes are never intercepted by next-intl.
This commit is contained in:
2026-02-12 22:23:21 +01:00
parent 9097e2cead
commit 78d2faa30f
8 changed files with 3 additions and 2902 deletions

View File

@@ -50,8 +50,7 @@ async function verifyImage(path: string): Promise<boolean> {
console.log(` ✅ OK (${bytes.length} bytes, ${duration}ms)`);
return true;
} catch (error: unknown) {
const message = error instanceof Error ? error.message : String(error);
console.error(` ❌ FAILED: ${message}`);
console.error(` ❌ FAILED:`, error);
return false;
}
}