25 lines
654 B
TOML
25 lines
654 B
TOML
[gitea]
|
|
base_url = "https://gitea.example.com"
|
|
owner = "rules"
|
|
repo = "ios_rule_script"
|
|
ref = "main"
|
|
token_env = "GITEA_TOKEN"
|
|
|
|
[source]
|
|
# mode=gitea: read source via Gitea API
|
|
# mode=local: read source from local filesystem cache (recommended with sync script)
|
|
mode = "local"
|
|
local_root = "upstream"
|
|
# Usually this is where Surge source rules are stored.
|
|
root = "rule/Surge"
|
|
filename_pattern = "{name}.list"
|
|
include_categories = []
|
|
exclude_categories = []
|
|
|
|
[output]
|
|
dir = "dist"
|
|
# true: IP-CIDR/IP-CIDR6 in Clash payload include no-resolve
|
|
clash_no_resolve = false
|
|
# true: IP-CIDR/IP-CIDR6 in Mihomo payload include no-resolve
|
|
mihomo_no_resolve = false
|