Verify nip05 address, display status

This commit is contained in:
2024-10-25 17:50:59 +02:00
parent a6517c61a4
commit 4c68be19fe
6 changed files with 85 additions and 4 deletions

View File

@@ -22,7 +22,7 @@ const userProfileHandler = async function (ctx: Context) {
const profile = new Profile(profileEvent, username);
const articleEvents = await fetchArticlesByAuthor(pubkey);
const articles = articleEvents.map((a) => new Article(a));
const html = profilePageHtml(profile, articles);
const html = await profilePageHtml(profile, articles);
generateOgProfileImage(profile);
ctx.response.body = html;