perf/change httpsig not veirfy status code

This commit is contained in:
SouthFox 2023-03-17 20:37:52 +08:00
parent 1e5999c309
commit 54eddbcf23

View file

@ -55,7 +55,7 @@ async def inbox(
await save_incoming(db_session, payload)
return Response(status_code=202)
else:
return Response(status_code=401)
return Response(status_code=406)
@app.get("/.well-known/webfinger")
async def wellknown_webfinger(resource: str) -> JSONResponse: