feat: 添加 DOH 解析服务器列表至配置文件实现自定义 DOH 服务器

This commit is contained in:
Akimio521
2024-07-05 13:55:48 +08:00
parent 35c7238ede
commit 71fe96d7f9
3 changed files with 5 additions and 9 deletions

View File

@ -234,6 +234,8 @@ class Settings(BaseSettings):
DOH_ENABLE: bool = True
# 使用 DOH 解析的域名列表
DOH_DOMAINS: str = "api.themoviedb.org,api.tmdb.org,webservice.fanart.tv,api.github.com,github.com,raw.githubusercontent.com,api.telegram.org"
# DOH 解析服务器列表
DOH_RESOLVERS: str = "1.0.0.1,1.1.1.1,9.9.9.9,149.112.112.112"
# 搜索多个名称
SEARCH_MULTIPLE_NAME: bool = False
# 订阅数据共享