The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
remove warning
Steven Tey4652370a2019
diff --git a/apps/web/lib/auth/index.ts b/apps/web/lib/auth/index.tsindex 88af5e0ea2..9bd389e462 100644--- a/apps/web/lib/auth/index.ts+++ b/apps/web/lib/auth/index.ts@@ -100,15 +100,6 @@ export const withAuth =);}const apiKey = authorizationHeader.replace("Bearer ", "");- // if there is no slug, it's the default dub.sh link- if (!slug) {- return new Response(- "Unauthorized: API is not supported for dub.sh links yet.",- {- status: 403,- },- );- }const url = new URL(req.url || "", API_DOMAIN);