mirror of
https://github.com/YMFE/yapi.git
synced 2025-03-31 14:50:26 +08:00
fix: yapi resolve
This commit is contained in:
parent
a6ef4cfeaf
commit
a30a8a642a
@ -13,13 +13,8 @@ const WEBROOT_LOG = path.join(WEBROOT_RUNTIME, 'log');
|
||||
const WEBCONFIG = config;
|
||||
|
||||
fs.ensureDirSync(WEBROOT_LOG);
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
// console.log('mail', WEBCONFIG.mail)
|
||||
>>>>>>> dev
|
||||
|
||||
if (WEBCONFIG.mail && WEBCONFIG.mail.enable) {
|
||||
|
||||
mail = nodemailer.createTransport(WEBCONFIG.mail);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user