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 API hostnames

Steven Tey6eb906bdb570
diff --git a/packages/utils/src/constants/index.ts b/packages/utils/src/constants/index.ts
index 858de887a5..bc35b143d0 100644
--- a/packages/utils/src/constants/index.ts
+++ b/packages/utils/src/constants/index.ts
@@ -61,6 +61,7 @@ export const APP_DOMAIN_WITH_NGROK =
export const API_HOSTNAMES = new Set([
`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,
+ `api.${SHORT_DOMAIN}`,
"api.localhost:8888",
]);