X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Futils%2FProxy.java;h=f6ce11b3666bf05e83aadab852219ecdc4867832;hb=94c44e42bf9d13fb372733318d9667c35af266be;hp=fa59c738439e40467aa62dfb28252799375b0375;hpb=875fbf21497ef5c8d74d5b7d88e2bbabede5aa3c;p=nikiroo-utils.git diff --git a/src/be/nikiroo/utils/Proxy.java b/src/be/nikiroo/utils/Proxy.java index fa59c73..f6ce11b 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); }