Commit cd75e854 authored by priit's avatar priit

Utiliidi töö katkestamine

parent f1ce63e5
......@@ -71,6 +71,7 @@ function ArchiveExtractor() {
//logger.debug('Filepath: ' + filePath);
entry.pipe(fs.createWriteStream(filePath)).on('close', function() {
session.addOutputFile(uniqid, {
type: 'output',
filePath: filePath,
fileName: entry.path,
contentType: mime.lookup(fullpath) // getting the original file mime type
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment