From bc746e4a9a78ecd1167a42c864320e53879e4bb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=9D=B0?= Date: Wed, 14 Jun 2023 19:08:41 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A4=BA=E4=BE=8B=E4=BB=A3=E7=A0=81=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 徐杰 Change-Id: I3075f4814f5fed42b2c4862b57df6122e1424519 --- zh-cn/application-dev/reference/apis/js-apis-net-ethernet.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 735cfcfb6e..f496dea944 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 "); -- GitLab