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 case-sensitive-short-links.ts

Kiran K059c26e57452
diff --git a/apps/web/lib/api/case-sensitive-short-links.ts b/apps/web/lib/api/case-sensitive-short-links.ts
index cab3cca06b..ec4a67e353 100644
--- a/apps/web/lib/api/case-sensitive-short-links.ts
+++ b/apps/web/lib/api/case-sensitive-short-links.ts
@@ -1,7 +1,8 @@
import { LinkProps } from "../types";
-export const CASE_SENSITIVE_DOMAINS = ["buff.ly"];
+export const CASE_SENSITIVE_DOMAINS = ["buff.ly", "getacme.link"];
+// This is not actually a secret key, it's just a string that we XOR with the key to make it case sensitive
const SECRET_KEY = "your-secret-key-here";
export const encodeKey = (text: string): string => {