We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ab7984 commit e67c33eCopy full SHA for e67c33e
packages/shared/config.ts
@@ -404,7 +404,9 @@ const serverConfigSchema = allEnv.transform((val, ctx) => {
404
return obj;
405
});
406
407
-const serverConfig = serverConfigSchema.parse(process.env);
+const serverConfig: Readonly<z.infer<typeof serverConfigSchema>> =
408
+ serverConfigSchema.parse(process.env);
409
+
410
// Always explicitly pick up stuff from server config to avoid accidentally leaking stuff
411
export const clientConfig = {
412
publicUrl: serverConfig.publicUrl,
0 commit comments