INNER CODE UNIT · Python
main
Kounex/obs_blade · tool/kick_auth_proxy/proxy.py:414
def main() -> None:
if not CLIENT_ID or not CLIENT_SECRET:
raise SystemExit("KICK_OAUTH_CLIENT_ID and KICK_OAUTH_CLIENT_SECRET are required")
server = ThreadingHTTPServer(
(LISTEN_HOST, LISTEN_PORT), make_handler(forward_with_curl)
)
server.serve_forever()
if __name__ == "__main__":
main()