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.

format

Kiran K32caaa1e2927
diff --git a/apps/web/app/api/domains/route.ts b/apps/web/app/api/domains/route.ts
index 0ccecc4ef4..1d9bccae1a 100644
--- a/apps/web/app/api/domains/route.ts
+++ b/apps/web/app/api/domains/route.ts
@@ -110,7 +110,11 @@ export const POST = withWorkspace(async ({ req, workspace, session }) => {
publicStats: false,
trackConversion: false,
...(workspace.plan === "free"
- ? { url: "", expiredUrl: null, rewrite: false }
+ ? {
+ url: "",
+ expiredUrl: null,
+ rewrite: false,
+ }
: {
url: target || "",
expiredUrl: expiredUrl || null,