fix 优雅停止

This commit is contained in:
jxxghp
2023-06-08 09:52:18 +08:00
parent a99cd77b68
commit e3a12e856a
8 changed files with 78 additions and 31 deletions

View File

@ -19,6 +19,8 @@ class Settings(BaseSettings):
HOST: str = "0.0.0.0"
# 监听端口
PORT: int = 3001
# 是否自动重载
RELOAD: bool = False
# 配置文件目录
CONFIG_DIR: str = None
# 超级管理员