Track day metrics/anamnesis HARD rules under .cursor/rules and personal docs so each screening updates days/{KIN}, dynamics, and big-data ledger.
Co-authored-by: Cursor <cursoragent@cursor.com>
21 lines
821 B
JavaScript
21 lines
821 B
JavaScript
// PAC для exit-via-ru / exit-via-ru-do: весь внешний трафик через SOCKS на 10809.
|
|
// Локальные/LAN — напрямую (Joplin, роутер, localhost).
|
|
function FindProxyForURL(url, host) {
|
|
if (isPlainHostName(host) ||
|
|
host === "localhost" ||
|
|
shExpMatch(host, "127.*") ||
|
|
shExpMatch(host, "10.*") ||
|
|
shExpMatch(host, "192.168.*") ||
|
|
shExpMatch(host, "172.16.*") ||
|
|
shExpMatch(host, "172.17.*") ||
|
|
shExpMatch(host, "172.18.*") ||
|
|
shExpMatch(host, "172.19.*") ||
|
|
shExpMatch(host, "172.2*.*") ||
|
|
shExpMatch(host, "172.30.*") ||
|
|
shExpMatch(host, "172.31.*") ||
|
|
shExpMatch(host, "*.local")) {
|
|
return "DIRECT";
|
|
}
|
|
return "SOCKS5 127.0.0.1:10809; SOCKS 127.0.0.1:10809";
|
|
}
|