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:
commit
6530ecee80
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user