From 0ce38d87190846ed233f315c52afd2b4cbcb619d Mon Sep 17 00:00:00 2001 From: Essem Date: Mon, 10 Oct 2022 15:15:25 -0500 Subject: [PATCH] Change ancient/cat endpoint --- commands/fun/ancient.js | 2 +- commands/fun/cat.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/fun/ancient.js b/commands/fun/ancient.js index 9f0f4e5..5fba8df 100644 --- a/commands/fun/ancient.js +++ b/commands/fun/ancient.js @@ -9,7 +9,7 @@ class AncientCommand extends Command { controller.abort(); }, 15000); try { - const data = await request("https://projectlounge.pw/meme/", { method: "HEAD", signal: controller.signal }); + const data = await request("https://files.projectlounge.pw/meme/", { method: "HEAD", signal: controller.signal }); clearTimeout(timeout); return data.headers.location; } catch (e) { diff --git a/commands/fun/cat.js b/commands/fun/cat.js index bfd05a9..3d2b5b9 100644 --- a/commands/fun/cat.js +++ b/commands/fun/cat.js @@ -9,7 +9,7 @@ class CatCommand extends Command { controller.abort(); }, 15000); try { - const data = await request("https://projectlounge.pw/cta/", { method: "HEAD", signal: controller.signal }); + const data = await request("https://files.projectlounge.pw/cta/", { method: "HEAD", signal: controller.signal }); clearTimeout(timeout); return data.headers.location; } catch (e) {