From 288da94249d899fad4fa9cba83f5ce589379268b Mon Sep 17 00:00:00 2001 From: Magi1053 Date: Sat, 22 Jan 2022 19:37:10 -0600 Subject: [PATCH] Fix pastebin uploader --- .../src/main/java/com/skcraft/launcher/util/PastebinPoster.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launcher/src/main/java/com/skcraft/launcher/util/PastebinPoster.java b/launcher/src/main/java/com/skcraft/launcher/util/PastebinPoster.java index 53a9666..285c595 100644 --- a/launcher/src/main/java/com/skcraft/launcher/util/PastebinPoster.java +++ b/launcher/src/main/java/com/skcraft/launcher/util/PastebinPoster.java @@ -42,7 +42,7 @@ public class PastebinPoster { InputStream in = null; try { - URL url = new URL("http://pastebin.com/api/api_post.php"); + URL url = new URL("https://pastebin.com/api/api_post.php"); conn = (HttpURLConnection) url.openConnection(); conn.setConnectTimeout(CONNECT_TIMEOUT); conn.setReadTimeout(READ_TIMEOUT);