“70b4a1f08af8df2d915e04c7f3d0863998d45563”上不存在“...api-diff/monthly-202211/js-apidiff-update.md”
提交 bc746e4a 编写于 作者: 徐杰

示例代码修改

Signed-off-by: N徐杰 <xujie223@huawei.com>
Change-Id: I3075f4814f5fed42b2c4862b57df6122e1424519
上级 4f491952
...@@ -59,7 +59,7 @@ ethernet.setIfaceConfig("eth0", { ...@@ -59,7 +59,7 @@ ethernet.setIfaceConfig("eth0", {
httpProxy: { httpProxy: {
host: "180.89.xx.xx", host: "180.89.xx.xx",
port: 8080, port: 8080,
exclusionList: {"192.168","example.com"} exclusionList: {"example.com","::1","localhost"}
} }
}, (error) => { }, (error) => {
if (error) { if (error) {
...@@ -123,7 +123,7 @@ ethernet.setIfaceConfig("eth0", { ...@@ -123,7 +123,7 @@ ethernet.setIfaceConfig("eth0", {
httpProxy: { httpProxy: {
host: "180.89.xx.xx", host: "180.89.xx.xx",
port: 8080, port: 8080,
exclusionList: {"192.168","example.com"} exclusionList: {"example.com","::1","localhost"}
} }
}).then(() => { }).then(() => {
console.log("setIfaceConfig promise ok "); console.log("setIfaceConfig promise ok ");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册