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
1 changed files with 1 additions and 1 deletions

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