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.

Update domains.ts

Steven Tey9425debb85d5
diff --git a/apps/web/lib/api/domains.ts b/apps/web/lib/api/domains.ts
index ba2f0b14da..680d991c67 100644
--- a/apps/web/lib/api/domains.ts
+++ b/apps/web/lib/api/domains.ts
@@ -3,10 +3,10 @@ import { redis } from "@/lib/upstash";
import {
getApexDomain,
getDomainWithoutWWW,
+ isIframeable,
validDomainRegex,
} from "@dub/utils";
import cloudinary from "cloudinary";
-import { isIframeable } from "../middleware/utils";
export const validateDomain = async (domain: string) => {
if (!domain || typeof domain !== "string") {