Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

add more GENERIC_EMAIL_DOMAINS

Steven Tey0caad237ecaa
diff --git a/apps/web/lib/is-generic-email.ts b/apps/web/lib/is-generic-email.ts
index 0e7460eb27..5ef03fe3ed 100644
--- a/apps/web/lib/is-generic-email.ts
+++ b/apps/web/lib/is-generic-email.ts
@@ -10,15 +10,16 @@ const GENERIC_EMAIL_DOMAINS = [
"verizon.net",
"att.net",
"me.com",
- "mac.com",
"msn.com",
- "live.com",
- "live.dk",
"web.de",
+ "atomicmail.io",
"protonmail.com",
"proton.me",
+ "pm.me",
"passinbox.com",
+ "passmail.net",
"163.com",
+ "126.com",
"duck.com",
"qq.com",
"zoho.com",
@@ -27,6 +28,10 @@ const GENERIC_EMAIL_DOMAINS = [
"tuta.com",
"privaterelay.appleid.com",
"qyver.online",
+ "vk.com",
+ "tutamail.com",
+ "simplelogin.com",
+ "volny.cz",
"naver.com",
"yeah.net",
"example.com",
@@ -39,6 +44,10 @@ const GENERIC_EMAIL_DOMAINS = [
"email.de",
"t-online.de",
"sina.com",
+ "foxmail.com",
+ "ukr.net",
+ "otona.uk",
+ "instaddr.ch",
];
const GENERIC_EMAIL_DOMAIN_PREFIXES = [
@@ -47,6 +56,7 @@ const GENERIC_EMAIL_DOMAIN_PREFIXES = [
"outlook.",
"gmx.",
"yandex.",
+ "live.",
];
export const isGenericEmail = (email: string) => {