优化 Webhook 列表, 优化日志系统
This commit is contained in:
@@ -135,6 +135,11 @@ function applyEnvOverrides(baseConfig) {
|
||||
nextConfig.data.root = path.resolve(dataRoot)
|
||||
}
|
||||
|
||||
const logLevel = String(process.env.LOG_LEVEL || '').trim()
|
||||
if (logLevel) {
|
||||
nextConfig.logging.level = logLevel
|
||||
}
|
||||
|
||||
const databaseUrl = String(process.env.DATABASE_URL || '').trim()
|
||||
if (databaseUrl) {
|
||||
nextConfig.database.url = databaseUrl
|
||||
|
||||
Reference in New Issue
Block a user