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 processLink domain

Steven Teyc6a5400c3f10
diff --git a/apps/web/lib/api/links.ts b/apps/web/lib/api/links.ts
index bc18bcf9e9..e0cfed9ad8 100644
--- a/apps/web/lib/api/links.ts
+++ b/apps/web/lib/api/links.ts
@@ -382,6 +382,7 @@ export async function processLink({
return {
link: {
...payload,
+ domain,
key,
url: processedUrl,
// make sure projectId is set to the current project