Skip to content
Permalink
Browse files
fixed download issue that prevented file removal
  • Loading branch information
hortonr6 committed Nov 29, 2019
1 parent 49ca18d commit b5304789f03bea91c7696f6e8c7c7c3866ef1eca
Showing 1 changed file with 0 additions and 1 deletion.
@@ -220,7 +220,6 @@ router.get('/file', async ctx => {
setTimeout(() => {
remover.removeFile(sourceUser, hash)
}, timer) // Delete the file after approx. 20 seconds to allow user time to download it
await ctx.render('download')
} catch (err) {
await ctx.render('error', { message: err.message })
}

0 comments on commit b530478

Please sign in to comment.