This commit is contained in:
chaosBreaking
2019-10-12 21:51:09 +08:00
parent 7a5a4c4e5f
commit 4e8737455e

View File

@@ -11,7 +11,7 @@ const { createVerifyReq } = require('../vreq/vreq.handler');
const fs = require('fs');
if (!fs.existsSync(userFileDir)) {
fs.mkdirSync(userFileDir);
fs.mkdirSync(userFileDir || 'userImages');
}
module.exports = {