Skip to content

Commit

Permalink
Fix env var parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
enricoros committed Jan 29, 2025
1 parent 8a3026e commit d498287
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/server/env.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,6 @@ export const env = createEnv({

},

onValidationError: error => {
console.error('❌ Invalid environment variables:', error.issues);
throw new Error('Invalid environment variable');
},

// matches user expectations - see https://github.com/enricoros/big-AGI/issues/279
emptyStringAsUndefined: true,

Expand Down

0 comments on commit d498287

Please sign in to comment.