[perf] inbox return 202 http code

This commit is contained in:
SouthFox 2023-07-27 22:08:52 +08:00
parent 4ee00bad59
commit 6cd142a0a0

4
app.py
View file

@ -43,8 +43,8 @@ def inbox():
"""Process inbox request""" """Process inbox request"""
is_verify = inbox_prechecker(request) is_verify = inbox_prechecker(request)
if is_verify: if is_verify:
return "STUB" return "STUB", 202
return "STUB" abort(401)
@app.route("/.well-known/nodeinfo") @app.route("/.well-known/nodeinfo")