diff --git a/reverser.js b/reverser.js index 637f28e..b9ff372 100644 --- a/reverser.js +++ b/reverser.js @@ -7,7 +7,7 @@ const ffmpeg = require('fluent-ffmpeg'); const reverse = file => { return new Promise((resolve, reject) => { const basename = path.basename(file); - const savepath = path.join(__dirname, '../outputs', 're-' + basename); + const savepath = path.join('/tmp', 're-' + basename); ffmpeg(file) .videoFilter('reverse') .on('error', error => reject(error))