From 8c24251662730af2083c89999c2d9b8499c4df4a Mon Sep 17 00:00:00 2001 From: Niki Date: Wed, 10 Apr 2019 10:59:09 +0200 Subject: [PATCH] proxy woopsie --- src/be/nikiroo/utils/Proxy.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.27.0