1
0
mirror of https://github.com/kami-blue/client synced 2025-02-22 00:06:49 +00:00

I'm literally stupid

This commit is contained in:
Qther 2020-04-17 17:00:38 +08:00 committed by GitHub
parent c8ed989d5f
commit 8a340ff2b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ public class WebUtils {
new Thread(() -> {
try {
// connect to https://api.github.com/repos/kami-blue/client/contributors
HttpsURLConnection connection = (HttpsURLConnection) new URL(KamiMod.CAPES_JSON).openConnection();
HttpsURLConnection connection = (HttpsURLConnection) new URL("https://api.github.com/repos/kami-blue/client/contributors").openConnection();
connection.connect();
// then parse it