diff --git a/zh-cn/application-dev/reference/apis/js-apis-net-ethernet.md b/zh-cn/application-dev/reference/apis/js-apis-net-ethernet.md index 735cfcfb6e7b83e13fce47b1418ceb808b0a0bf7..f496dea9448d54c0704a63628b628f1b7239de32 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-net-ethernet.md +++ b/zh-cn/application-dev/reference/apis/js-apis-net-ethernet.md @@ -59,7 +59,7 @@ ethernet.setIfaceConfig("eth0", { httpProxy: { host: "180.89.xx.xx", port: 8080, - exclusionList: {"192.168","example.com"} + exclusionList: {"example.com","::1","localhost"} } }, (error) => { if (error) { @@ -123,7 +123,7 @@ ethernet.setIfaceConfig("eth0", { httpProxy: { host: "180.89.xx.xx", port: 8080, - exclusionList: {"192.168","example.com"} + exclusionList: {"example.com","::1","localhost"} } }).then(() => { console.log("setIfaceConfig promise ok ");