Change ancient/cat endpoint
This commit is contained in:
parent
ba46701589
commit
0ce38d8719
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ class AncientCommand extends Command {
|
||||||
controller.abort();
|
controller.abort();
|
||||||
}, 15000);
|
}, 15000);
|
||||||
try {
|
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);
|
clearTimeout(timeout);
|
||||||
return data.headers.location;
|
return data.headers.location;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|
|
@ -9,7 +9,7 @@ class CatCommand extends Command {
|
||||||
controller.abort();
|
controller.abort();
|
||||||
}, 15000);
|
}, 15000);
|
||||||
try {
|
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);
|
clearTimeout(timeout);
|
||||||
return data.headers.location;
|
return data.headers.location;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|
Loading…
Reference in a new issue