feat:将使用 DOH 域名解析的域名添加至 app.core.config.settings

This commit is contained in:
Akimio521
2024-07-05 09:31:41 +08:00
parent 7f5f31f143
commit 5a59652684
3 changed files with 5 additions and 11 deletions

View File

@ -232,6 +232,8 @@ class Settings(BaseSettings):
META_CACHE_EXPIRE: int = 0
# 是否启用DOH解析域名
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'
# 搜索多个名称
SEARCH_MULTIPLE_NAME: bool = False
# 订阅数据共享