mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-02 12:49:27 +00:00
13 lines
230 B
JavaScript
13 lines
230 B
JavaScript
function FindProxyForURL(url,host)
|
|
{
|
|
if ( isInNet(host,"10.0.0.0","255.0.0.0") ||
|
|
isInNet(host,"172.16.0.0","255.255.0.0") )
|
|
{
|
|
return "DIRECT";
|
|
}
|
|
else
|
|
{
|
|
return "PROXY proxy.technikum-wien.at:3128";
|
|
}
|
|
}
|