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

@@ -64,7 +64,6 @@ class Settings(BaseSettings):
host: str = "0.0.0.0"
port: int = 8000
debug: bool = False
private_api_secret: str = "your_private_api_secret_here"
cors_urls: list[HttpUrl] = []
server_url: HttpUrl = HttpUrl("http://localhost:8000")
frontend_url: HttpUrl | None = None