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 f496dea9448d54c0704a63628b628f1b7239de32..a40b423ad211ffb8ab7e75be25ba563740ce567a 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: {"example.com","::1","localhost"} + exclusionList: {"example.com","192.168.0.1"} } }, (error) => { if (error) { @@ -123,7 +123,7 @@ ethernet.setIfaceConfig("eth0", { httpProxy: { host: "180.89.xx.xx", port: 8080, - exclusionList: {"example.com","::1","localhost"} + exclusionList: {"example.com","192.168.0.1"} } }).then(() => { console.log("setIfaceConfig promise ok ");