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.

fix backwards compat

Steven Teyfc2d5b1906a9
diff --git a/apps/web/app/api/workspaces/[idOrSlug]/stats/[endpoint]/route.ts b/apps/web/app/api/workspaces/[idOrSlug]/stats/[endpoint]/route.ts
new file mode 100644
index 0000000000..581265a06c
--- /dev/null
+++ b/apps/web/app/api/workspaces/[idOrSlug]/stats/[endpoint]/route.ts
@@ -0,0 +1 @@
+export * from "../../../../analytics/clicks/[endpoint]/route";
diff --git a/apps/web/app/api/workspaces/[idOrSlug]/stats/clicks/route.ts b/apps/web/app/api/workspaces/[idOrSlug]/stats/clicks/route.ts
deleted file mode 100644
index 3dc5a6e064..0000000000
--- a/apps/web/app/api/workspaces/[idOrSlug]/stats/clicks/route.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from "../../../../analytics/clicks/route";