This commit is contained in:
genio
2021-11-18 15:13:36 +01:00
parent 52759b7ce9
commit 9ea28f281a
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
const { spawn } = require('child_process');
const logger = require('./lib/logger');
const settings = require('./settings.json');
const logger = require('./logger');
const settings = require('../settings.json');
const download = (socket, url) => {
const ytldp = spawn('./lib/yt-dlp.exe',

View File

@@ -5,7 +5,7 @@ const path = require('path');
const { createServer } = require('http');
const cors = require('@koa/cors');
const logger = require('./lib/logger');
const { download, abortDownload } = require('./downloader');
const { download, abortDownload } = require('./lib/downloader');
const app = new Koa()
const server = createServer(app.callback())