refactor(private-api): use OAuth to authorize

This commit is contained in:
MingxuanGame
2025-08-12 16:04:19 +00:00
parent 186656d72f
commit b5afbed36c
8 changed files with 37 additions and 68 deletions

View File

@@ -26,8 +26,6 @@ CORS_URLS='[]'
FRONTEND_URL
# 调试模式,生产环境请设置为 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