Closed github-actions[bot] closed 4 months ago
https://github.com/jeevanjohnson/local-osu-server/blob/b912a7b0b8d291da6deb2568aaf55807893223bc/server/osu_client/bancho_handler.py#L19
from fastapi.routing import APIRouter from fastapi import Header, Depends bancho_handling_router = APIRouter(prefix="/c") def logged_in(osu_token: str | None) -> bool: if osu_token: return True return False @bancho_handling_router.get('/') async def handle_request( osu_token: str | None = Header(default=None) ): if not logged_in(osu_token): # TODO: Finish Login ... # TODO: Finish Everything Related To Send Packets to the Player
Closed in 75042cbba830b3f3189cf38c1d55f5196f58fc05
https://github.com/jeevanjohnson/local-osu-server/blob/b912a7b0b8d291da6deb2568aaf55807893223bc/server/osu_client/bancho_handler.py#L19