diff --git a/lib/uploadRecording.js b/lib/uploadRecording.js index f58e50c..7855acb 100644 --- a/lib/uploadRecording.js +++ b/lib/uploadRecording.js @@ -71,7 +71,7 @@ module.exports = function (uid, editorRecorder, voiceRecorder, workspaceSnapshot if(err) { reject(err); } else { - resolve(); + resolve(zipFilename); } }); }); diff --git a/lib/voice-assist.js b/lib/voice-assist.js index 44737f0..cb6fd44 100644 --- a/lib/voice-assist.js +++ b/lib/voice-assist.js @@ -133,7 +133,7 @@ recorder.config = { uploadURL: { title: 'Upload URL', - // default: 'http://107.170.177.159:3000/upload_recording', + //default: 'http://107.170.177.159:3000/upload_recording', default: 'http://localhost:3000/upload_recording', // default: 'http://107.170.177.159:3000/upload_recording',