mirror of
https://github.com/certd/certd.git
synced 2026-04-23 19:57:27 +08:00
perf: 支持日志写入文件
This commit is contained in:
@@ -19,6 +19,12 @@ import path from 'path';
|
||||
const env = process.env.NODE_ENV || 'development';
|
||||
|
||||
const development = {
|
||||
midwayLogger: {
|
||||
default: {
|
||||
dir: './logs',
|
||||
},
|
||||
// ...
|
||||
},
|
||||
keys: 'certd',
|
||||
koa: {
|
||||
port: 7001,
|
||||
|
||||
Reference in New Issue
Block a user