mirror of
https://github.com/certd/certd.git
synced 2026-04-24 04:17:25 +08:00
feat: 升级midway,支持esm
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
const log4js = require('log4js');
|
||||
import log4js from 'log4js';
|
||||
import path from 'path';
|
||||
const level = process.env.NODE_ENV === 'development' ? 'debug' : 'info';
|
||||
const path = require('path');
|
||||
const filename = path.join('/logs/server.log');
|
||||
log4js.configure({
|
||||
appenders: {
|
||||
|
||||
Reference in New Issue
Block a user