add LAN white list (#26)

This commit is contained in:
gshmu 2023-03-29 14:17:05 +08:00 committed by GitHub
parent 1223f04dc9
commit d3db3ab5d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,6 +95,7 @@ function FindProxyForURL(url, host) {
}
var LAN = [
[0x00000000, 0xFFFFFFFF], // 0.0.0.0/32
[0x0A000000, 0xFF000000], // 10.0.0.0/8
[0x64400000, 0xFFC00000], // 100.64.0.0/10
[0x7F000000, 0xFF000000], // 127.0.0.0/8