初始提交
This commit is contained in:
7
app/config.py
Normal file
7
app/config.py
Normal file
@@ -0,0 +1,7 @@
|
||||
class Config:
|
||||
# Redis 连接配置
|
||||
# 优先使用 1Panel Redis 内部连接
|
||||
REDIS_URL = "redis://localhost:6379/0"
|
||||
|
||||
# 备用配置:如果内部连接不通,可以使用以下外部连接配置
|
||||
# REDIS_URL = "redis://localhost:6380/0"
|
||||
Reference in New Issue
Block a user