2
0

🚑 Fix weird env parsing on Firefox making it crash

This commit is contained in:
Baptiste Arnaud
2023-11-07 14:49:15 +01:00
parent eed562b47a
commit eaa9b815c4

4
packages/env/env.ts vendored
View File

@ -279,8 +279,8 @@ const tolgeeEnv = {
NEXT_PUBLIC_TOLGEE_API_URL: z NEXT_PUBLIC_TOLGEE_API_URL: z
.string() .string()
.url() .url()
.optional() .default('https://tolgee.server.baptistearno.com"')
.default('https://tolgee.server.baptistearno.com"'), .optional(),
}, },
runtimeEnv: { runtimeEnv: {
NEXT_PUBLIC_TOLGEE_API_KEY: getRuntimeVariable( NEXT_PUBLIC_TOLGEE_API_KEY: getRuntimeVariable(