mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-19 19:36:38 +00:00
refactor contexts, format zod errors, and more refactoring
This commit is contained in:
@@ -120,7 +120,8 @@ if (!parsedConfig.success) {
|
||||
throw new Error(`Invalid configuration file: ${errors}`);
|
||||
}
|
||||
|
||||
process.env.SERVER_EXTERNAL_PORT = parsedConfig.data.server.external_port.toString();
|
||||
process.env.SERVER_EXTERNAL_PORT =
|
||||
parsedConfig.data.server.external_port.toString();
|
||||
process.env.FLAGS_EMAIL_VERIFICATION_REQUIRED = parsedConfig.data.flags
|
||||
?.require_email_verification
|
||||
? "true"
|
||||
|
||||
Reference in New Issue
Block a user