fix add插件热加载变量开关(保留DEV开关

This commit is contained in:
thsrite
2024-05-14 09:24:02 +08:00
parent bd6d6b6882
commit 4281692321
3 changed files with 4 additions and 1 deletions

View File

@ -33,6 +33,8 @@ class Settings(BaseSettings):
DEBUG: bool = False
# 是否开发模式
DEV: bool = False
# 是否开启插件热加载
PLUGIN_AUTO_RELOAD: bool = False
# 配置文件目录
CONFIG_DIR: Optional[str] = None
# 超级管理员