File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import { Loader2 } from "lucide-react"
13
13
import { useToast } from "@/components/hooks/use-toast"
14
14
import { useRouter } from "next/navigation" ;
15
15
import { Card } from "@/components/ui/card"
16
+ import { NEXT_PUBLIC_ROOT_DOMAIN } from "@/lib/environment.client" ;
16
17
import useCaptureEvent from "@/hooks/useCaptureEvent" ;
17
18
18
19
@@ -109,7 +110,7 @@ export function OrgCreateForm() {
109
110
< FormLabel > Organization Domain</ FormLabel >
110
111
< FormControl >
111
112
< div className = "flex items-center space-x-2 w-full" >
112
- < div className = "flex-shrink-0 text-sm text-muted-foreground" > staging.sourcebot.dev /</ div >
113
+ < div className = "flex-shrink-0 text-sm text-muted-foreground" > { NEXT_PUBLIC_ROOT_DOMAIN } /</ div >
113
114
< Input placeholder = "aperture-labs" { ...field } className = "flex-1" />
114
115
</ div >
115
116
</ FormControl >
Original file line number Diff line number Diff line change @@ -10,4 +10,5 @@ export const NEXT_PUBLIC_SOURCEBOT_TELEMETRY_DISABLED = getEnvBoolean(process.en
10
10
export const NEXT_PUBLIC_SOURCEBOT_VERSION = getEnv ( process . env . NEXT_PUBLIC_SOURCEBOT_VERSION , "unknown" ) ! ;
11
11
export const NEXT_PUBLIC_DOMAIN_SUB_PATH = getEnv ( process . env . NEXT_PUBLIC_DOMAIN_SUB_PATH , "" ) ! ;
12
12
export const NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY = getEnv ( process . env . NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY ) ;
13
- export const NEXT_PUBLIC_POLLING_INTERVAL_MS = getEnvNumber ( process . env . NEXT_PUBLIC_POLLING_INTERVAL_MS , 5000 ) ;
13
+ export const NEXT_PUBLIC_POLLING_INTERVAL_MS = getEnvNumber ( process . env . NEXT_PUBLIC_POLLING_INTERVAL_MS , 5000 ) ;
14
+ export const NEXT_PUBLIC_ROOT_DOMAIN = getEnv ( process . env . NEXT_PUBLIC_ROOT_DOMAIN , "localhost:3000" ) ! ;
You can’t perform that action at this time.
0 commit comments