enable proxy support
authorNiki Roo <niki@nikiroo.be>
Fri, 12 Apr 2019 07:36:15 +0000 (09:36 +0200)
committerNiki Roo <niki@nikiroo.be>
Fri, 12 Apr 2019 07:36:15 +0000 (09:36 +0200)
src/be/nikiroo/fanfix/Instance.java

index 733c16cf9a6e8705e1a602ec279e2b8309d6f395..a6f6fb75125404225cf8eed459f48d7cca282294 100644 (file)
@@ -17,6 +17,7 @@ import be.nikiroo.fanfix.library.LocalLibrary;
 import be.nikiroo.fanfix.library.RemoteLibrary;
 import be.nikiroo.utils.Cache;
 import be.nikiroo.utils.IOUtils;
+import be.nikiroo.utils.Proxy;
 import be.nikiroo.utils.TempFiles;
 import be.nikiroo.utils.TraceHandler;
 import be.nikiroo.utils.resources.Bundles;
@@ -54,8 +55,7 @@ public class Instance {
                createConfigs(configDir, false);
                
                // Proxy support
-               // TODO: include new nikiroo-utils version
-               // Proxy.use(Instance.getConfig().getString(Config.USE_PROXY));
+               Proxy.use(Instance.getConfig().getString(Config.USE_PROXY));
 
                // update tracer:
                boolean debug = Instance.getConfig()