11
This commit is contained in:
@@ -15,6 +15,10 @@ REDIS_URL=redis://127.0.0.1:6379/0
|
||||
SECRET_KEY=change-me-to-a-long-random-string
|
||||
ACCESS_TOKEN_EXPIRE_MINUTES=10080
|
||||
|
||||
# API 传输 AES-256-GCM(与 Tauri AICLIENT_API_AES_KEY 相同;32 字节 Base64)
|
||||
# 生成示例: python -c "import os,base64; print(base64.b64encode(os.urandom(32)).decode())"
|
||||
API_AES_KEY=98cde5e64ee0da6ed0c5842f43a950aa0d8ae5087c43c8d8ee5d10bd8d571bb4
|
||||
|
||||
# CORS(逗号分隔,* 表示允许全部)
|
||||
CORS_ORIGINS=http://localhost:1420,tauri://localhost
|
||||
|
||||
|
||||
Reference in New Issue
Block a user