Wire astro-seo-meta for OG, Twitter Card, and canonical tags on all pages. Add Satori + resvg dynamic OG image endpoints at /og/[id].png with branded dark-theme cards. Replace inline SVGs with zero-JS astro-icon rendering. SSR fetches use 5s AbortController timeout and shared ID validation across all dynamic routes.
12 lines
226 B
TypeScript
12 lines
226 B
TypeScript
/// <reference types="astro/client" />
|
|
|
|
interface ImportMetaEnv {
|
|
readonly PUBLIC_API_URL: string;
|
|
readonly BACKEND_INTERNAL_URL: string;
|
|
readonly SITE: string;
|
|
}
|
|
|
|
interface ImportMeta {
|
|
readonly env: ImportMetaEnv;
|
|
}
|