From 11ca288d90196746d814d592d10c0eeb7402dc97 Mon Sep 17 00:00:00 2001 From: Nikita <68944906+BANanaD3V@users.noreply.github.com> Date: Mon, 15 Jul 2024 11:49:19 +0300 Subject: [PATCH] feat(sources/spigot): proxy spigot requests --- src/sources/spigot.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sources/spigot.rs b/src/sources/spigot.rs index 9a68a29..54724c4 100644 --- a/src/sources/spigot.rs +++ b/src/sources/spigot.rs @@ -80,7 +80,7 @@ impl<'a> SpigotAPI<'a> { Ok(ResolvedFile { url: format!( - "{API_URL}/resources/{}/versions/{version}/download", + "{API_URL}/resources/{}/versions/{version}/download/proxy", Self::get_resource_id(id) ), filename,