From 94dfa2402895c3b6545e9117b3b97484c76cc07f Mon Sep 17 00:00:00 2001 From: Cedric Hoelzl Date: Thu, 14 Nov 2019 00:39:19 +0100 Subject: [PATCH] Cleanup --- reverser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))