From c3c7d1cbfc042f5e174c1f6cfacc6e65eff67f3b Mon Sep 17 00:00:00 2001 From: adk23333 <2633103794@qq.com> Date: Mon, 18 Dec 2023 23:46:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0gitea=20oauth2=E5=9B=9E?= =?UTF-8?q?=E8=B0=83=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/server.py b/server.py index f70a62f..264b4c7 100644 --- a/server.py +++ b/server.py @@ -62,6 +62,12 @@ async def receive(rqt: Request): return text(rsp) +@app.get('/redirect') +async def redirect(rqt: Request): + print(rqt.args) + return text('success') + + """ 以下为QQ监听部分 """