X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Futils%2FProxy.java;h=f6ce11b3666bf05e83aadab852219ecdc4867832;hb=8c24251662730af2083c89999c2d9b8499c4df4a;hp=fa59c738439e40467aa62dfb28252799375b0375;hpb=a43e4f72629d04cd3122bde830b6e4925fd3aa91;p=fanfix.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); }