The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update use-endpoint.ts
Steven Teya77e731fcca0
diff --git a/lib/hooks/use-endpoint.ts b/lib/hooks/use-endpoint.tsindex ad612f0c5d..3532b56d3c 100644--- a/lib/hooks/use-endpoint.ts+++ b/lib/hooks/use-endpoint.ts@@ -17,7 +17,7 @@ export default function useEndpoint(staticDomain?: string) {return {pageType: slug,domain: projectDomain,- endpoint: `/api/projects/${slug}/domains/${projectDomain}/links/${key}/stats`,+ endpoint: `/api/projects/${slug}/links/${key}/stats`,};// Generic Dub.sh link page, e.g. app.dub.sh/links/steven