From 58c89af0115a7517d3b95838bbf332f419857172 Mon Sep 17 00:00:00 2001 From: nestoralonso Date: Fri, 2 Oct 2020 20:42:51 -0500 Subject: [PATCH] Update src_doc.md Fix misc typos --- docs-src/en/src_doc.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs-src/en/src_doc.md b/docs-src/en/src_doc.md index 8eba0b592..a6e3ea079 100644 --- a/docs-src/en/src_doc.md +++ b/docs-src/en/src_doc.md @@ -191,7 +191,7 @@ proxyServer.close(); > Under the hood, AnyProxy decryptes https requests by man-in-the-middle attack. Users have to trust the CA cert in advance. Otherwise, client side will issue errors about unsecure network. -* generate certifycates and intercept +* generate certificates and intercept ```bash anyproxy-ca #generate root CA. manually trust it after that. @@ -471,7 +471,7 @@ module.exports = { #### beforeDealHttpsRequest(requestDetail) * When receiving https request, AnyProxy will call `beforeDealHttpsRequest` with param `requestDetail` -* If configed with `forceProxyHttps` in launching, AnyProxy will skip calling this method +* If configured with `forceProxyHttps` in launching, AnyProxy will skip calling this method * Only by returning true, AnyProxy will try to replace the certificate and intercept the https request. * `requestDetail` * `host` {string} the target host to request. Due to the request protocol, full url couldn't be got here @@ -596,7 +596,7 @@ install : ### config http proxy server -* take Chrome extent [SwitchyOmega] as an example(https://chrome.google.com/webstore/detail/padekgcemlokbadohgkifijomclgjgif)为例 +* take Chrome extension [SwitchyOmega] as an example(https://chrome.google.com/webstore/detail/padekgcemlokbadohgkifijomclgjgif)为例 @@ -625,7 +625,7 @@ There are several file extensions of CA file which may not be compatible with al ### config iOS/Android proxy server -* proxy settings are placed in wifi setting +* proxy settings are placed in wifi settings * iOS @@ -640,7 +640,7 @@ There are several file extensions of CA file which may not be compatible with al ### Q: can not deal https request in rule module. - * A: Any of these options could be used to change the way AnyProxy deall https requests + * A: Any of these options could be used to change the way AnyProxy deal https requests 1. config `--intercept` when luanching AnyProxy via cli, or use `forceProxyHttps` when using as an npm module 2. place a `beforeDealHttpsRequest` function in your rule file and determine which request to intercept by your own. @@ -689,4 +689,4 @@ AnyProxy will propmt this message when the certification of the site you're visi }; ``` - And we get a bonous here, AnyProxy will only ignore the errors for the site(s) we want it to! + And we get a bonus here, AnyProxy will only ignore the errors for the site(s) we want it to!