11
This commit is contained in:
19
.env.example
Normal file
19
.env.example
Normal file
@@ -0,0 +1,19 @@
|
||||
APP_NAME=aiclient-api
|
||||
DEBUG=true
|
||||
|
||||
# MySQL(aiomysql)
|
||||
MYSQL_HOST=127.0.0.1
|
||||
MYSQL_PORT=3306
|
||||
MYSQL_USER=root
|
||||
MYSQL_PASSWORD=
|
||||
MYSQL_DATABASE=aiclient
|
||||
|
||||
# Redis
|
||||
REDIS_URL=redis://127.0.0.1:6379/0
|
||||
|
||||
# JWT
|
||||
SECRET_KEY=change-me-to-a-long-random-string
|
||||
ACCESS_TOKEN_EXPIRE_MINUTES=10080
|
||||
|
||||
# CORS(逗号分隔,* 表示允许全部)
|
||||
CORS_ORIGINS=http://localhost:1420,tauri://localhost
|
||||
Reference in New Issue
Block a user