Nexchan commited on
Commit
d98dd1b
1 Parent(s): 1b5eea0

Update server.js

Browse files
Files changed (1) hide show
  1. server.js +1 -0
server.js CHANGED
@@ -191,6 +191,7 @@ async function getAudioMP3Url(videoUrl) {
191
  title: info.videoDetails.title,
192
  result: {
193
  url_path: `https://${process.env.SPACE_HOST}/temp/${path.basename(convert.path)}`,
 
194
  path: convert.path
195
  }
196
  };
 
191
  title: info.videoDetails.title,
192
  result: {
193
  url_path: `https://${process.env.SPACE_HOST}/temp/${path.basename(convert.path)}`,
194
+ curl_path: `https://${process.env.SPACE_HOST}/temp/${path.basename(convert.path)}?download=1&filename=${info.videoDetails.title}`,
195
  path: convert.path
196
  }
197
  };