diff options
| author | Im-Beast <franik.mateusz@gmail.com> | 2024-12-19 13:15:11 +0100 |
|---|---|---|
| committer | Im-Beast <franik.mateusz@gmail.com> | 2024-12-19 13:15:11 +0100 |
| commit | 7d8db85942194fc7576d58beb7a4dc65e415a56b (patch) | |
| tree | 7f53a2ccd1de179b99b0b3bf43ee282405c80f03 /tests/utils.ts | |
| parent | 56f10a0d91374ea2a2739f875dbe9fb2d695a0eb (diff) | |
tests: use cached releases endpoint to prevent ratelimits
Diffstat (limited to 'tests/utils.ts')
| -rwxr-xr-x | tests/utils.ts | 4 |
1 files changed, 1 insertions, 3 deletions
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<string[]> { - 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()}`); |
