fix: restore shared NEXT_PUBLIC_BASE_URL definition in environment configuration
This commit is contained in:
parent
d29943f2a4
commit
8e4d73941f
1 changed files with 3 additions and 3 deletions
|
|
@ -33,9 +33,9 @@ export const env = createEnv({
|
|||
NEXT_PUBLIC_BASE_URL: z.string(),
|
||||
NEXT_PUBLIC_STRIPE_PUBLIC_KEY: z.string(),
|
||||
},
|
||||
// shared: {
|
||||
// NEXT_PUBLIC_BASE_URL: z.string(),
|
||||
// },
|
||||
shared: {
|
||||
NEXT_PUBLIC_BASE_URL: z.string(),
|
||||
},
|
||||
// If you're using Next.js < 13.4.4, you'll need to specify the runtimeEnv manually
|
||||
experimental__runtimeEnv: {
|
||||
NEXT_PUBLIC_BASE_URL: process.env.NEXT_PUBLIC_BASE_URL,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue