优化 Webhook 列表, 优化日志系统

This commit is contained in:
yml
2026-04-14 20:02:37 +08:00
parent 215f8bb710
commit 9636167177
21 changed files with 518 additions and 20 deletions
+5
View File
@@ -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