Enhancements

Add validation of exclude/include values passed from URI argument.
Update pref.ini.
This commit is contained in:
Tindy X
2019-12-03 22:00:00 +08:00
parent 4057d7e216
commit 6079487fde
4 changed files with 20 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ api_mode=false
default_url=
;Exclude nodes which remarks match the following patterns. Supports regular expression.
exclude_remarks=(流量|时间|官网|产品)
exclude_remarks=(到期|流量|时间|官网|产品)
;exclude_remarks=(other rule)
;Only include nodes which remarks match the following patterns. Supports regular expression.
@@ -93,6 +93,9 @@ write_managed_config=true
;Address prefix for MANAGED-CONFIG info, without the trailing "/".
managed_config_prefix=http://127.0.0.1:25500
[surge_external_proxy]
;surge_ssr_path=/usr/bin/ssr-local
[emojis]
add_emoji=true
remove_old_emoji=true