mirror of
https://github.com/wangdage12/Snap.Server.git
synced 2026-02-17 08:52:10 +08:00
初始提交
This commit is contained in:
8
app/config.py
Normal file
8
app/config.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from app.config_loader import config_loader
|
||||
|
||||
# 使用配置加载器提供兼容的接口
|
||||
class Config:
|
||||
SECRET_KEY = config_loader.SECRET_KEY
|
||||
MONGO_URI = config_loader.MONGO_URI
|
||||
TIMEZONE = config_loader.TIMEZONE
|
||||
ISTEST_MODE = config_loader.ISTEST_MODE
|
||||
Reference in New Issue
Block a user