From 1953ea0f9c11416fb25c517f9b5bad27f7395c7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=9D=B0?= Date: Tue, 27 Jun 2023 09:03:28 +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: I29b3904209b8a55e99c477c4ebb33551350aa3e4 --- 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 f496dea944..a40b423ad2 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 "); -- GitLab