The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
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.tsindex 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 sensitiveconst SECRET_KEY = "your-secret-key-here";export const encodeKey = (text: string): string => {