feat: dropbox auth module + uploads folder boot fix
This commit is contained in:
1 parent
9b8a886798
commit
db14239eba
5 files changed
+27
-20
No files matched your search
@@ -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')
|
||||
|
||||
|
||||
Reference in new issue
Block a user