This commit is contained in:
fengchuanhn@gmail.com
2026-05-17 22:05:37 +08:00
parent 3db327d93b
commit 8a55976d00
8 changed files with 268 additions and 5 deletions

View File

@@ -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