diff --git a/deno.json b/deno.json index e54bb7a..9808c30 100644 --- a/deno.json +++ b/deno.json @@ -23,7 +23,7 @@ "@isaacs/ttlcache": "npm:@isaacs/ttlcache@^1.4.1", "@lambdalisue/async": "jsr:@lambdalisue/async@^2.1.1", "@noble/secp256k1": "npm:@noble/secp256k1@^2.0.0", - "@nostrify/nostrify": "jsr:@nostrify/nostrify@^0.22.0", + "@nostrify/nostrify": "jsr:@nostrify/nostrify@^0.22.2", "@sentry/deno": "https://deno.land/x/sentry@7.112.2/index.mjs", "@soapbox/kysely-deno-sqlite": "jsr:@soapbox/kysely-deno-sqlite@^2.1.0", "@soapbox/stickynotes": "jsr:@soapbox/stickynotes@^0.4.0", diff --git a/src/views/mastodon/accounts.ts b/src/views/mastodon/accounts.ts index f8294d8..fbb6206 100644 --- a/src/views/mastodon/accounts.ts +++ b/src/views/mastodon/accounts.ts @@ -86,7 +86,7 @@ async function renderAccount( pubkey, lud16, }, - website, + website: /^https?:\/\//.test(website) ? website : undefined, }; }