diff --git a/apps/builder/src/features/customDomains/components/CustomDomainModal.tsx b/apps/builder/src/features/customDomains/components/CustomDomainModal.tsx index cf01b924445..1cdf0b21fd0 100644 --- a/apps/builder/src/features/customDomains/components/CustomDomainModal.tsx +++ b/apps/builder/src/features/customDomains/components/CustomDomainModal.tsx @@ -17,7 +17,6 @@ import { } from '@chakra-ui/react' import { useToast } from '@/hooks/useToast' import { useEffect, useRef, useState } from 'react' -import { env, getViewerUrl } from '@typebot.io/lib' import { createCustomDomainQuery } from '../queries/createCustomDomainQuery' const hostnameRegex = @@ -117,13 +116,7 @@ export const CustomDomainModal = ({ Value - - { - new URL( - env('VIEWER_INTERNAL_URL') ?? getViewerUrl() ?? '' - ).hostname - } - + cname.vercel-dns.com ) : (