mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-10 11:03:13 +00:00
41 lines
716 B
Markdown
41 lines
716 B
Markdown
---
|
|
icon: material/delete-clock
|
|
---
|
|
|
|
!!! failure "Deprecated in sing-box 1.8.0"
|
|
|
|
Geosite is deprecated and may be removed in the future, check [Migration](/migration/#migrate-geosite-to-rule-sets).
|
|
|
|
### Structure
|
|
|
|
```json
|
|
{
|
|
"route": {
|
|
"geosite": {
|
|
"path": "",
|
|
"download_url": "",
|
|
"download_detour": ""
|
|
}
|
|
}
|
|
}
|
|
```
|
|
|
|
### Fields
|
|
|
|
#### path
|
|
|
|
The path to the sing-geosite database.
|
|
|
|
`geosite.db` will be used if empty.
|
|
|
|
#### download_url
|
|
|
|
The download URL of the sing-geoip database.
|
|
|
|
Default is `https://github.com/SagerNet/sing-geosite/releases/latest/download/geosite.db`.
|
|
|
|
#### download_detour
|
|
|
|
The tag of the outbound to download the database.
|
|
|
|
Default outbound will be used if empty. |