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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user