mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-12-27 15:05:38 +08:00
33 lines
503 B
Markdown
33 lines
503 B
Markdown
|
### 结构
|
||
|
|
||
|
```json
|
||
|
{
|
||
|
"route": {
|
||
|
"geosite": {
|
||
|
"path": "",
|
||
|
"download_url": "",
|
||
|
"download_detour": ""
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
```
|
||
|
|
||
|
### 字段
|
||
|
|
||
|
#### path
|
||
|
|
||
|
指定 GeoSite 资源的路径。
|
||
|
|
||
|
如果为空,则使用 `geosite.db`。
|
||
|
|
||
|
#### download_url
|
||
|
|
||
|
指定 GeoSite 资源的下载连接。
|
||
|
|
||
|
默认为 `https://github.com/SagerNet/sing-geosite/releases/latest/download/geosite.db`.
|
||
|
|
||
|
#### download_detour
|
||
|
|
||
|
用于下载 GeoSite 资源的出站的标签。
|
||
|
|
||
|
如果为空,则使用默认出站。
|