mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
fix: createEnv by adding emptyStringAsUndefined (#317)
This commit is contained in:
@@ -6,6 +6,7 @@ import packageJson from "../package.json" with {type: "json"};
|
||||
const {version} = packageJson;
|
||||
|
||||
export const env = createEnv({
|
||||
emptyStringAsUndefined: true,
|
||||
server: {
|
||||
NEXT_PUBLIC_PROJECT_VERSION: z.string().optional(),
|
||||
|
||||
@@ -199,3 +200,4 @@ export const env = createEnv({
|
||||
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user