Add default switch for enabling insert_url

This commit is contained in:
Tindy X
2020-05-02 22:56:38 +08:00
parent 5b692c800b
commit 23d64632de
3 changed files with 9 additions and 4 deletions

View File

@@ -2,6 +2,7 @@ common:
api_mode: false
api_access_token: password
default_url: []
enable_insert: true
insert_url: []
prepend_insert_url: true
exclude_remarks: ["(到期|剩余流量|时间|官网|产品)"]

View File

@@ -8,9 +8,11 @@ api_access_token=password
;Default URLs, used when no URL is provided in request, use "|" to separate multiple subscription links, supports local files/URL
default_url=
;URLs to insert before subscription links, can be used to add node(s) to all exported subscriptions, use "|" to separate multiple subscription links, supports local files/URL
;Insert subscription links to requests. Can be used to add node(s) to all exported subscriptions.
enable_insert=true
;URLs to insert to subscription links, use "|" to separate multiple subscription links, supports local files/URL
insert_url=
;Prepend inserted URLs to the node list. Nodes in insert_url will be added to groups first with non-group-specific match pattern.
;Prepend inserted URLs to subscription links. Nodes in insert_url will be added to groups first with non-group-specific match pattern.
prepend_insert_url=true
;Exclude nodes which remarks match the following patterns. Supports regular expression.