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.

small updates

Steven Tey1f84c5ddb253
diff --git a/lib/constants/blacklist.ts b/lib/constants/blacklist.ts
index 6e2af3a69a..67a77373be 100644
--- a/lib/constants/blacklist.ts
+++ b/lib/constants/blacklist.ts
@@ -14,6 +14,7 @@ const BLACKLIST = new Set([
"piracynchill.in",
"tgnewstv.it",
"secure.oldschool.com-os.cz",
+ "secure.oldschool.com-o.cz",
"secure.oldschool.com-rr.cz",
"secure.oldschool.com-i.cz",
"rfiptv.xyz",
diff --git a/lib/constants/blacklisted-emails.ts b/lib/constants/blacklisted-emails.ts
index 1f31608d77..91d44d3c57 100644
--- a/lib/constants/blacklisted-emails.ts
+++ b/lib/constants/blacklisted-emails.ts
@@ -6,6 +6,7 @@ const BLACKLISTED_EMAILS = new Set([
]);
export default BLACKLISTED_EMAILS;
diff --git a/middleware.ts b/middleware.ts
index 736ba888c2..6f0fd60d75 100644
--- a/middleware.ts
+++ b/middleware.ts
@@ -39,7 +39,6 @@ export default async function middleware(req: NextRequest, ev: NextFetchEvent) {
if (home) {
if (path.startsWith("/static")) {
- console.log("rewriting");
return NextResponse.rewrite(
new URL("/_static" + path.split("/static")[1], req.url),
);