mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
refactor(self-hosting): forward every setting, drop dead config (#3047)
This commit is contained in:
1 parent
39f9beda5a
commit
2b8a743dc5
96 files changed
+1743
-2391
No files matched your search
@@ -20,7 +20,7 @@ function isPinoLevel(value: string): value is pino.Level {
|
||||
}
|
||||
|
||||
function resolveEnvironment(options: LoggerOptions): string {
|
||||
return options.environment ?? process.env.FLUXER_ENV ?? 'production';
|
||||
return options.environment ?? (process.env.FLUXER_ENV?.trim() || 'production');
|
||||
}
|
||||
|
||||
function resolveLevel(options: LoggerOptions, isDev: boolean): pino.Level {
|
||||
|
||||
Reference in new issue
Block a user