diff --git a/public/script/fetchinfo.js b/public/script/fetchinfo.js index 1459cd4..dad3f71 100644 --- a/public/script/fetchinfo.js +++ b/public/script/fetchinfo.js @@ -15,7 +15,7 @@ async function fetchVideoInfo(url) { body: new URLSearchParams({ url }), }); - if (!res.ok) return { error: `Erreur Lors de la récupération des informations` }; + if (!res.ok) return { error: `An Error occured when fetching info` }; const data = await res.json(); if (!data) return { error: "Données manquantes" }; diff --git a/server/server.js b/server/server.js index 64a5cad..fba428c 100644 --- a/server/server.js +++ b/server/server.js @@ -4,16 +4,11 @@ const path = require("path"); const { logger, logSessionStart, logSessionEnd } = require("./logger"); const config = require("../config"); const { execFile } = require("child_process"); -const { userYtDlp, ffmpegPath, denoPath} = require("./helpers/path"); +const { userYtDlp } = require("./helpers/path"); const app = express(); -logger.info("FFMPEG Path:", ffmpegPath); -logger.info("Deno Path:", denoPath); -logger.info("YT-DLP Path:", userYtDlp); - - app.use(express.json()); // Dossier de téléchargement