You've already forked dev-sidecar
mirror of
https://github.com/docmirror/dev-sidecar.git
synced 2025-11-26 14:10:40 +08:00
feature: windows的系统代理排除列表中,排除掉中国域名白名单,并提供自动更新中国域名白名单的功能 (#366)
This commit is contained in:
@@ -19,7 +19,7 @@ function createPacClient (pacFilePath) {
|
||||
|
||||
const getRules = function (pacFilePath) {
|
||||
let text = readFile(pacFilePath)
|
||||
if (text.indexOf('!---------------------EOF') === -1) {
|
||||
if (text.indexOf('!---------------------EOF') < 0) {
|
||||
text = Buffer.from(text, 'base64').toString()
|
||||
}
|
||||
const rules = []
|
||||
|
||||
Reference in New Issue
Block a user