Skip to content

Commit ce03744

Browse files
committed
docs: update readme
1 parent 77694d6 commit ce03744

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/zhs/README.md

+9
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ docker run -d -p 8080:8080 --restart=unless-stopped --name lessapi-duckduckgo le
5656
- viaProxyUrl: 浏览器使用代理的地址(选填) 如 http://proxy.server:3000 默认值 空
5757
- llmStyle: 是否使用大型语言模型(LLM)友好风格响应(选填) 1, 0 默认值 0
5858

59+
> Tips:位于中国大陆的用户直接访问DuckDuckGo可能遇到网络不稳定的问题,建议使用 viaProxyUrl 参数指定代理地址。
60+
5961
**请求示例:**
6062

6163
```shell
@@ -91,6 +93,13 @@ curl 'http://127.0.0.1:8080/search/text?keyword=lessapi&maxCount=99&viaProxyUrl=
9193

9294
```
9395

96+
## 高级
97+
98+
### 使用环境变量
99+
100+
- **LESSAPI_DEFAULT_LANGUAGE**: (选填) 默认语言, 如 en-US, fr-FR, zh-CN, ru-RU, 等 默认值 en-US
101+
- **LESSAPI_DEFAULT_VIA_PROXY_URL**: (选填) 浏览器默认使用代理的地址, 如 http://proxy.server:3000 默认值 空
102+
94103
## 安全
95104

96105
[![Security Status](https://www.murphysec.com/platform3/v31/badge/1779906127272730624.svg)](https://www.murphysec.com/console/report/1778449242088529920/1779906127272730624)

0 commit comments

Comments
 (0)