The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
export const DEFAULT_REDIRECTS = {
home: "https://dub.co",
dub: "https://dub.co",
signin: "https://app.dub.co/login",
login: "https://app.dub.co/login",
register: "https://app.dub.co/register",
signup: "https://app.dub.co/register",
app: "https://app.dub.co",
dashboard: "https://app.dub.co",
links: "https://app.dub.co/links",
settings: "https://app.dub.co/settings",
welcome: "https://app.dub.co/onboarding/welcome",
discord: "https://twitter.com/dubdotco", // placeholder for now
};
export const DUB_HEADERS = {
"x-powered-by": "Dub - The Modern Link Attribution Platform",
};
export const REDIRECTION_QUERY_PARAM = "redir_url";