Merge branch 'master' of github.com:mozilla/send into localization
This commit is contained in:
commit
902010704a
33 changed files with 246 additions and 869 deletions
|
@ -224,6 +224,19 @@ app.post('/upload', (req, res, next) => {
|
|||
});
|
||||
});
|
||||
});
|
||||
|
||||
req.on('close', err => {
|
||||
storage
|
||||
.forceDelete(newId)
|
||||
.then(err => {
|
||||
if (!err) {
|
||||
log.info('Deleted:', newId);
|
||||
}
|
||||
})
|
||||
.catch(err => {
|
||||
log.info('DeleteError:', newId);
|
||||
});
|
||||
})
|
||||
});
|
||||
|
||||
app.get('/__lbheartbeat__', (req, res) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue