improvement(Desktop): Use system default proxy settings #709
This commit is contained in:
parent
3f255bac08
commit
444ee998e7
|
@ -99,6 +99,10 @@ fun main() {
|
||||||
Security.insertProviderAt(BouncyCastleProvider(), 1)
|
Security.insertProviderAt(BouncyCastleProvider(), 1)
|
||||||
Security.insertProviderAt(BouncyCastleJsseProvider(), 2)
|
Security.insertProviderAt(BouncyCastleJsseProvider(), 2)
|
||||||
|
|
||||||
|
// Allow the app to use system default proxies:
|
||||||
|
// https://docs.oracle.com/javase/8/docs/technotes/guides/net/proxies.html
|
||||||
|
System.setProperty("java.net.useSystemProxies", "true")
|
||||||
|
|
||||||
val kamelConfig = KamelConfig {
|
val kamelConfig = KamelConfig {
|
||||||
this.takeFrom(KamelConfig.Default)
|
this.takeFrom(KamelConfig.Default)
|
||||||
mapper(FaviconUrlMapper)
|
mapper(FaviconUrlMapper)
|
||||||
|
|
Loading…
Reference in New Issue