feature flags config / typed app config

This commit is contained in:
2023-10-10 10:37:53 +01:00
parent c023a89271
commit 9d33abbf1e
20 changed files with 118 additions and 99 deletions

View File

@ -25,7 +25,7 @@ export default function NostrLinkHandler() {
}
} else {
try {
const pubkey = await getNip05PubKey(`${link}@${process.env.NIP05_DOMAIN}`);
const pubkey = await getNip05PubKey(`${link}@${CONFIG.nip05Domain}`);
if (pubkey) {
setRenderComponent(<ProfilePage id={pubkey} />); // Directly render ProfilePage
}