mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
fix: cast website as string
This commit is contained in:
parent
4ab1d32f18
commit
3c699fd23f
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue