Reaperxxxx commited on
Commit
78d43ad
Β·
verified Β·
1 Parent(s): 7b1a290

Update server.js

Browse files
Files changed (1) hide show
  1. server.js +1 -1
server.js CHANGED
@@ -30,7 +30,7 @@ const scheduleFileDeletion = (filePath, delay = 600000) => {
30
 
31
  const downloadFile = (fileUrl, filePath) => {
32
  return new Promise((resolve, reject) => {
33
- const aria2Command = `aria2c --allow-insecure -x 16 -s 16 -k 1M -o "${filePath}" "${fileUrl}"`;
34
  console.log(`πŸš€ Starting fast download: ${aria2Command}`);
35
 
36
  exec(aria2Command, (error, stdout, stderr) => {
 
30
 
31
  const downloadFile = (fileUrl, filePath) => {
32
  return new Promise((resolve, reject) => {
33
+ const aria2Command = `aria2c -x 16 -s 16 -k 1M --check-certificate=false -o "${filePath}" "${fileUrl}"`;
34
  console.log(`πŸš€ Starting fast download: ${aria2Command}`);
35
 
36
  exec(aria2Command, (error, stdout, stderr) => {