Set default mimeType for BufferJob

This commit is contained in:
Cheng Zhao 2016-05-28 22:36:22 +09:00
parent 30dca2b4e1
commit f4fe60d126
2 changed files with 24 additions and 1 deletions

View file

@ -227,7 +227,7 @@ app.once('ready', function () {
if (err) {
return callback(-6) // FILE_NOT_FOUND
} else {
return callback({mimeType: 'text/html', data: content})
return callback(content)
}
})
}