changed the directory of log directory
This commit is contained in:
@@ -4,7 +4,7 @@ const path = require('path');
|
||||
|
||||
const isDev = process.env.NODE_ENV !== 'production';
|
||||
|
||||
const logDir = path.join(__dirname, 'logs');
|
||||
const logDir = path.join(__dirname, '../..', 'logs');
|
||||
if (!fs.existsSync(logDir)) {
|
||||
fs.mkdirSync(logDir);
|
||||
}
|
||||
|
Reference in New Issue
Block a user