diff --git a/nip05.ts b/nip05.ts index cb86604..c2303f8 100644 --- a/nip05.ts +++ b/nip05.ts @@ -37,6 +37,7 @@ export async function queryProfile( } if (!name.match(/^[A-Za-z0-9-_]+$/)) return null + if (!domain.includes('.')) return null let res try {