appConfig.nip05Domain for /username route

This commit is contained in:
Martti Malmi
2023-09-26 11:30:39 +03:00
parent b3ede123b5
commit a06dc977bc
4 changed files with 4 additions and 1 deletions

View File

@ -24,7 +24,7 @@ export default function NostrLinkHandler() {
}
} else {
try {
const pubkey = await getNip05PubKey(`${link}@snort.social`);
const pubkey = await getNip05PubKey(`${link}@${process.env.NIP05_DOMAIN}`);
if (pubkey) {
navigate(profileLink(pubkey));
}