diff --git a/src/general.ts b/src/general.ts index 664654c4..c4ee47ff 100644 --- a/src/general.ts +++ b/src/general.ts @@ -68,7 +68,7 @@ export default async (url: URL, lang: string | null = null): Promise description = null; } - let siteName = + let siteName: string | null = $('meta[property="og:site_name"]').attr('content') ?? $('meta[name="application-name"]').attr('content') ?? landingUrl.hostname ??