mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
Upgrade Nostrify to v0.22.2, enforce http(s) in website field
This commit is contained in:
parent
ae271b6505
commit
8c12ffaaa1
2 changed files with 2 additions and 2 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ async function renderAccount(
|
|||
pubkey,
|
||||
lud16,
|
||||
},
|
||||
website,
|
||||
website: /^https?:\/\//.test(website) ? website : undefined,
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue