diff --git a/protocol/baboon/engine.go b/protocol/baboon/engine.go index 6e15959..a495d6b 100644 --- a/protocol/baboon/engine.go +++ b/protocol/baboon/engine.go @@ -27,7 +27,7 @@ var Conf = struct { // that you are using a proxy server. Masker string }{ - Masker: "https://www.zhihu.com", + Masker: "https://github.com/", } // Server implemented the baboon protocol. diff --git a/protocol/baboon/engine_test.go b/protocol/baboon/engine_test.go index 7443dd3..95642ee 100644 --- a/protocol/baboon/engine_test.go +++ b/protocol/baboon/engine_test.go @@ -111,7 +111,7 @@ func TestProtocolBaboonMasker(t *testing.T) { if len(body) == 0 { t.FailNow() } - if !bytes.Contains(body, []byte("zhihu")) { + if !bytes.Contains(body, []byte("github")) { t.FailNow() } }