1
0
mirror of https://github.com/SKCraft/Launcher.git synced 2024-11-27 12:46:22 +01:00

Fix pastebin uploader (#457)

This commit is contained in:
Henry 2022-01-23 03:31:53 +00:00 committed by GitHub
commit 6530ecee80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ public class PastebinPoster {
InputStream in = null; InputStream in = null;
try { 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 = (HttpURLConnection) url.openConnection();
conn.setConnectTimeout(CONNECT_TIMEOUT); conn.setConnectTimeout(CONNECT_TIMEOUT);
conn.setReadTimeout(READ_TIMEOUT); conn.setReadTimeout(READ_TIMEOUT);