feat:服务器地址变量化

This commit is contained in:
jxxghp
2024-05-21 17:31:12 +08:00
parent 7c7bc0b504
commit 5be2bf0633
4 changed files with 9 additions and 8 deletions

View File

@ -252,6 +252,8 @@ class Settings(BaseSettings):
SUBSCRIBE_STATISTIC_SHARE: bool = True
# 插件安装数据共享
PLUGIN_STATISTIC_SHARE: bool = True
# 服务器地址,对应 https://github.com/jxxghp/MoviePilot-Server 项目
MP_SERVER_HOST: str = "https://movie-pilot.org"
@validator("SUBSCRIBE_RSS_INTERVAL",
"COOKIECLOUD_INTERVAL",