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 View on Dub button

Kiran Kd4fc34350aef
diff --git a/apps/web/lib/integrations/slack/commands.ts b/apps/web/lib/integrations/slack/commands.ts
index e1f9881117..563b0ccee9 100644
--- a/apps/web/lib/integrations/slack/commands.ts
+++ b/apps/web/lib/integrations/slack/commands.ts
@@ -241,7 +241,7 @@ const createShortLink = async ({
elements: [
{
type: "mrkdwn",
- text: `*Created by* ${user.name} | ${createdAtDate} | <${APP_DOMAIN}/${workspace.slug}?search=${shortLink} | View on Dub>`,
+ text: `*Created by* ${user.name} | ${createdAtDate} | <${APP_DOMAIN}/${workspace.slug}/links/${link.domain}/${link.key} | View on Dub>`,
},
],
},