mirror of
https://codeberg.org/postscriptum/pac.git
synced 2026-04-01 05:25:28 +00:00
rename configs, add yggstack-or-psocks.pac
This commit is contained in:
parent
ba1f9f5368
commit
a3dec1db60
2 changed files with 8 additions and 0 deletions
8
yggstack-or-psocks.pac
Normal file
8
yggstack-or-psocks.pac
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
function FindProxyForURL(url, host)
|
||||
{
|
||||
if (/^0{0,1}[2-3][a-f0-9]{0,2}:/.test(host) || /\.ygg$/.test(host)) {
|
||||
return 'SOCKS5 127.0.0.1:1047'; // yggstack
|
||||
}
|
||||
|
||||
return 'SOCKS5 127.0.0.1:1080'; // psocks
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue