Skip to content

Commit acd114d

Browse files
authored
New endpoints for Purpur
1 parent 0c7bf0a commit acd114d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Models/Minecraft/Purpur/PurpurManifest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public GameUpdate GetGameUpdate()
6060

6161
private static string GetDownloadUrl(string version)
6262
{
63-
return $"https://serverjars.com/api/fetchJar/purpur/{version}";
63+
return $"https://serverjars.com/api/fetchJar/servers/purpur/{version}";
6464
}
6565
}
6666
public class PurpurVersionManifest
@@ -72,7 +72,7 @@ public static PurpurVersionManifest GetManifests()
7272
using (var wc = new WebClient())
7373
{
7474
return JsonConvert.DeserializeObject<PurpurVersionManifest>(
75-
wc.DownloadString("https://serverjars.com/api/fetchAll/purpur"));
75+
wc.DownloadString("https://serverjars.com/api/fetchAll/servers/purpur"));
7676
}
7777
}
7878
}

0 commit comments

Comments
 (0)