Skip to content

Commit 910dbcc

Browse files
committed
更新Container设置,包括:http_proxy,https_proxy
1 parent 63f10f9 commit 910dbcc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@
1515
]
1616
}
1717
},
18+
"containerEnv": {
19+
"HTTP_PROXY": "${localEnv:HTTP_PROXY}",
20+
"HTTPS_PROXY": "${localEnv:HTTP_PROXY}",
21+
"http_proxy": "${localEnv:HTTP_PROXY}",
22+
"https_proxy": "${localEnv:HTTP_PROXY}"
23+
},
1824

1925
// Features to add to the dev container. More info: https://containers.dev/features.
2026
// "features": {},

0 commit comments

Comments
 (0)