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.

Update is-generic-email.ts

Steven Tey6ff6beae277b
diff --git a/apps/web/lib/is-generic-email.ts b/apps/web/lib/is-generic-email.ts
index ec31b9ba60..f75f783d57 100644
--- a/apps/web/lib/is-generic-email.ts
+++ b/apps/web/lib/is-generic-email.ts
@@ -1,7 +1,6 @@
import { extractEmailDomain } from "./email/extract-email-domain";
const GENERIC_EMAIL_DOMAINS = [
- "gmail.com",
"googlemail.com",
"ymail.com",
"icloud.com",
@@ -58,6 +57,16 @@ const GENERIC_EMAIL_DOMAINS = [
"bluewin.ch",
"web-library.net",
"8shield.net",
+ "tormails.com",
+ "sugtbt.com",
+ "kakao.com",
+ "luxudata.com",
+ "homephit.com",
+ "fexpost.com",
+ "rambler.ru",
+ "charter.net",
+ "mailbox.in.ua",
+ "hi2.in",
];
const GENERIC_EMAIL_DOMAIN_PREFIXES = [
@@ -69,6 +78,8 @@ const GENERIC_EMAIL_DOMAIN_PREFIXES = [
"live.",
"student.",
"passmail.",
+ "gmail.",
+ "fexbox.",
];
const GENERIC_EMAIL_DOMAIN_SUFFIXES = [
@@ -83,6 +94,9 @@ const GENERIC_EMAIL_DOMAIN_SUFFIXES = [
".click",
".digital",
".pro",
+ ".lol",
+ ".monster",
+ ".buzz",
];
export const isGenericEmail = (email: string) => {