feat: dropbox auth module + uploads folder boot fix

This commit is contained in:
Nick
2019-04-22 13:12:03 -04:00
parent 9b8a886798
commit db14239eba
5 changed files with 266 additions and 56 deletions

View File

@@ -10,6 +10,7 @@ module.exports = async () => {
try {
const uplTempPath = path.resolve(process.cwd(), WIKI.config.paths.data, 'uploads')
await fs.ensureDir(uplTempPath)
const ls = await fs.readdir(uplTempPath)
const fifteenAgo = moment().subtract(15, 'minutes')