feat(private): initialize private API

This commit is contained in:
MingxuanGame
2025-08-11 14:41:07 +00:00
parent d8c607137a
commit 8acd4578e2
7 changed files with 65 additions and 1 deletions

View File

@@ -20,6 +20,8 @@ HOST="0.0.0.0"
PORT=8000
# 调试模式,生产环境请设置为 false
DEBUG=false
# 私有 API 密钥,用于前后端 API 调用,使用 openssl rand -hex 32 生成
PRIVATE_API_SECRET="your_private_api_secret_here"
# osu! 登录设置
OSU_CLIENT_ID=5 # lazer client ID