[feat] hostname replace plugin: support for external list file

This commit is contained in:
Bnyro
2024-05-05 23:17:35 +02:00
committed by Markus Heiser
parent 3bec04079c
commit aa59bfbf60
3 changed files with 45 additions and 9 deletions

View File

@@ -243,6 +243,16 @@ outgoing:
# - '(.*\.)?google(\..*)?$'
# high_priority:
# - '(.*\.)?wikipedia.org$'
#
# Alternatively you can use external files for configuring the "Hostnames plugin":
#
# hostnames:
# replace: 'rewrite-hosts.yml'
#
# Content of 'rewrite-hosts.yml' (place the file in the same directory as 'settings.yml'):
# '(.*\.)?youtube\.com$': 'invidious.example.com'
# '(.*\.)?youtu\.be$': 'invidious.example.com'
#
checker:
# disable checker when in debug mode