From: Niki Date: Wed, 10 Apr 2019 08:59:09 +0000 (+0200) Subject: proxy woopsie X-Git-Tag: fanfix-swing-0.0.1~21^2~178 X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=8c24251662730af2083c89999c2d9b8499c4df4a;p=fanfix-swing.git proxy woopsie --- diff --git a/src/be/nikiroo/utils/Proxy.java b/src/be/nikiroo/utils/Proxy.java index fa59c738..f6ce11b3 100755 --- a/src/be/nikiroo/utils/Proxy.java +++ b/src/be/nikiroo/utils/Proxy.java @@ -61,8 +61,8 @@ public class Proxy { */ static public void useProxy(String host, int port, String user, String password) { - System.setProperty("http.proxyHost", "proxy.stluc.ucl.ac.be"); - System.setProperty("http.proxyPort", "8080"); + System.setProperty("http.proxyHost", host); + System.setProperty("http.proxyPort", Integer.toString(port)); auth(user, password); }