From 2f6e7ec5f610739fd29be9e31e125e79812d458a Mon Sep 17 00:00:00 2001 From: synt-xerror <169557594+synt-xerror@users.noreply.github.com> Date: Tue, 21 Apr 2026 13:29:22 -0300 Subject: [PATCH] Now audio and video plugins suports HTTPS --- audio/index.js | 4 ++-- video/index.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/audio/index.js b/audio/index.js index 1171031..8bfa5c8 100644 --- a/audio/index.js +++ b/audio/index.js @@ -23,7 +23,7 @@ logStream.on("error", err => console.error("[logStream]", err)); const DOWNLOADS_DIR = path.resolve("downloads"); const YT_DLP = "yt-dlp"; const FFMPEG = "ffmpeg"; -const UPLOAD_URL = "http://maneos.net/upload"; +const UPLOAD_URL = "https://maneos.net/upload"; const execFileAsync = promisify(execFile); @@ -122,7 +122,7 @@ async function uploadToServer(filePath) { throw new Error("Server response missing url"); } - return result.url.startsWith("http") ? result.url : `http://maneos.net${result.url}`; + return result.url.startsWith("https") ? result.url : `https://maneos.net${result.url}`; } export default async function ({ msg, api }) { diff --git a/video/index.js b/video/index.js index c3571ed..f3d45b5 100644 --- a/video/index.js +++ b/video/index.js @@ -20,7 +20,7 @@ logStream.on("error", err => console.error("[logStream]", err)); const DOWNLOADS_DIR = path.resolve("downloads"); const YT_DLP = "yt-dlp"; -const UPLOAD_URL = "http://maneos.net/upload"; +const UPLOAD_URL = "https://maneos.net/upload"; const ARGS_BASE = [ "--extractor-args", "youtube:player_client=android", @@ -99,7 +99,7 @@ async function uploadToServer(filePath) { throw new Error("Server response missing url"); } - return result.url.startsWith("http") ? result.url : `http://maneos.net${result.url}`; + return result.url.startsWith("https") ? result.url : `https://maneos.net${result.url}`; } export default async function ({ msg, api }) {