diff --git a/src/views/mastodon/accounts.ts b/src/views/mastodon/accounts.ts index 7973c2a6..a635af38 100644 --- a/src/views/mastodon/accounts.ts +++ b/src/views/mastodon/accounts.ts @@ -34,7 +34,7 @@ async function renderAccount( let websiteUrl; try { // See if 'website' is a valid url - new URL(website); + new URL(website as string); websiteUrl = website; } catch (_) { try {