File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -24,12 +24,10 @@ export type ClientEnv = z.infer<typeof clientEnvSchema>
2424
2525// Bun will inject all these values, so we need to reference them individually (no for-loops)
2626export const clientProcessEnv : ClientInput = {
27- NEXT_PUBLIC_CB_ENVIRONMENT : process . env . NEXT_PUBLIC_CB_ENVIRONMENT ?? 'dev' ,
28- NEXT_PUBLIC_CODEBUFF_APP_URL :
29- process . env . NEXT_PUBLIC_CODEBUFF_APP_URL ?? 'https://www.codebuff.com' ,
27+ NEXT_PUBLIC_CB_ENVIRONMENT : process . env . NEXT_PUBLIC_CB_ENVIRONMENT ,
28+ NEXT_PUBLIC_CODEBUFF_APP_URL : process . env . NEXT_PUBLIC_CODEBUFF_APP_URL ,
3029 NEXT_PUBLIC_CODEBUFF_BACKEND_URL :
31- process . env . NEXT_PUBLIC_CODEBUFF_BACKEND_URL ??
32- 'manicode-backend.onrender.com' ,
30+ process . env . NEXT_PUBLIC_CODEBUFF_BACKEND_URL ,
3331 NEXT_PUBLIC_SUPPORT_EMAIL :
3432 process . env . NEXT_PUBLIC_SUPPORT_EMAIL ?? 'support@codebuff.local' ,
3533 NEXT_PUBLIC_POSTHOG_API_KEY : process . env . NEXT_PUBLIC_POSTHOG_API_KEY ?? '' ,
Original file line number Diff line number Diff line change @@ -9,8 +9,6 @@ const ensureEnvDefault = (key: string, value: string) => {
99}
1010
1111ensureEnvDefault ( 'NEXT_PUBLIC_CB_ENVIRONMENT' , 'dev' )
12- ensureEnvDefault ( 'NEXT_PUBLIC_CODEBUFF_APP_URL' , 'https://www.codebuff.com' )
13- ensureEnvDefault ( 'NEXT_PUBLIC_CODEBUFF_BACKEND_URL' , 'manicode-backend.onrender.com' )
1412ensureEnvDefault ( 'NEXT_PUBLIC_SUPPORT_EMAIL' , 'support@codebuff.local' )
1513ensureEnvDefault ( 'NEXT_PUBLIC_POSTHOG_HOST_URL' , 'http://localhost' )
1614ensureEnvDefault ( 'NEXT_PUBLIC_POSTHOG_API_KEY' , 'test-key' )
You can’t perform that action at this time.
0 commit comments