From 7d8db85942194fc7576d58beb7a4dc65e415a56b Mon Sep 17 00:00:00 2001 From: Im-Beast Date: Thu, 19 Dec 2024 13:15:11 +0100 Subject: tests: use cached releases endpoint to prevent ratelimits --- tests/utils.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tests/utils.ts') diff --git a/tests/utils.ts b/tests/utils.ts index ebf4e8b..80940ef 100755 --- a/tests/utils.ts +++ b/tests/utils.ts @@ -146,9 +146,7 @@ export async function createWalletViaCli( export type MoneroCVersion = "next" | (string & {}); export async function getMoneroCTags(): Promise { - const response = await fetch( - "https://api.github.com/repos/MrCyjanek/monero_c/releases", - ); + const response = await fetch("https://static.mrcyjanek.net/monero_c/release.php"); if (!response.ok) { throw new Error(`Could not receive monero_c release tags: ${await response.text()}`); -- cgit v1.2.3