Upgrade Nostrify to v0.22.2, enforce http(s) in website field

This commit is contained in:
Alex Gleason 2024-05-24 11:30:56 -05:00
parent ae271b6505
commit 8c12ffaaa1
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
2 changed files with 2 additions and 2 deletions

View File

@ -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",

View File

@ -86,7 +86,7 @@ async function renderAccount(
pubkey,
lud16,
},
website,
website: /^https?:\/\//.test(website) ? website : undefined,
};
}