feat: add redis
This commit is contained in:
@ -1,10 +1,14 @@
|
||||
RUST_LOG=info,udmin=debug
|
||||
APP_ENV=development
|
||||
APP_HOST=0.0.0.0
|
||||
APP_PORT=9898
|
||||
APP_PORT=9891
|
||||
DB_URL=mysql://root:123456@127.0.0.1:3306/udmin
|
||||
JWT_SECRET=dev_secret_change_me
|
||||
JWT_ISS=udmin
|
||||
JWT_ACCESS_EXP_SECS=1800
|
||||
JWT_REFRESH_EXP_SECS=1209600
|
||||
CORS_ALLOW_ORIGINS=http://localhost:5173,http://localhost:5174,http://localhost:5175
|
||||
CORS_ALLOW_ORIGINS=http://localhost:5173,http://localhost:5174,http://localhost:5175
|
||||
|
||||
# Redis配置
|
||||
REDIS_URL=redis://:123456@127.0.0.1:6379/9
|
||||
REDIS_TOKEN_VALIDATION=true
|
||||
Reference in New Issue
Block a user