mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-02 18:57:08 +00:00
fix(docs): translations
This commit is contained in:
@@ -3,13 +3,13 @@ title: 網絡
|
||||
description: 配置代理和自定義證書。
|
||||
---
|
||||
|
||||
OpenCode 支持企業網絡環境的標準代理環境變量和自定義證書。
|
||||
opencode 支持企業網絡環境的標準代理環境變量和自定義證書。
|
||||
|
||||
---
|
||||
|
||||
## 代理人
|
||||
|
||||
OpenCode 尊重標準代理環境變量。
|
||||
opencode 尊重標準代理環境變量。
|
||||
|
||||
```bash
|
||||
# HTTPS proxy (recommended)
|
||||
@@ -48,7 +48,7 @@ export HTTPS_PROXY=http://username:password@proxy.example.com:8080
|
||||
|
||||
## 定制證書
|
||||
|
||||
如果您的企業使用自定義 CA 進行 HTTPS 連接,請配置 OpenCode 以信任它們。
|
||||
如果您的企業使用自定義 CA 進行 HTTPS 連接,請配置 opencode 以信任它們。
|
||||
|
||||
```bash
|
||||
export NODE_EXTRA_CA_CERTS=/path/to/ca-cert.pem
|
||||
|
||||
Reference in New Issue
Block a user