20 lines
381 B
Plaintext
20 lines
381 B
Plaintext
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
|