This commit is contained in:
Essem 2022-10-10 15:28:06 -05:00
parent 0ce38d8719
commit 2de57df9a9
No known key found for this signature in database
GPG Key ID: 7D497397CC3A2A8C
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ class AncientCommand extends Command {
try {
const data = await request("https://files.projectlounge.pw/meme/", { method: "HEAD", signal: controller.signal });
clearTimeout(timeout);
return data.headers.location;
return `https://files.projectlounge.pw${data.headers.location}`;
} catch (e) {
if (e.name === "AbortError") {
this.success = false;

View File

@ -11,7 +11,7 @@ class CatCommand extends Command {
try {
const data = await request("https://files.projectlounge.pw/cta/", { method: "HEAD", signal: controller.signal });
clearTimeout(timeout);
return data.headers.location;
return `https://files.projectlounge.pw${data.headers.location}`;
} catch (e) {
if (e.name === "AbortError") {
this.success = false;