mirror of
https://github.com/ViaVersion/ViaFabric.git
synced 2024-11-08 09:40:07 +01:00
Remove cachedTime from URL, the repo cache is now 1 hour
This commit is contained in:
parent
e460d59790
commit
12e378747d
@ -81,7 +81,7 @@ public class ViaFabric implements ModInitializer {
|
||||
localMd5 = DigestUtils.md5Hex(is);
|
||||
}
|
||||
}
|
||||
URL versionsUrl = new URL("https://repo.viaversion.com/" + groupIdPath + "/" + artifactName + "/?" + cachedTime);
|
||||
URL versionsUrl = new URL("https://repo.viaversion.com/" + groupIdPath + "/" + artifactName + "/");
|
||||
JLOGGER.info("Checking for " + depName + " updates " + versionsUrl);
|
||||
HttpURLConnection con = (HttpURLConnection) versionsUrl.openConnection();
|
||||
con.setRequestProperty("User-Agent", "ViaFabric/" + ViaFabric.getVersion());
|
||||
|
Loading…
Reference in New Issue
Block a user