perf/change httpsig not veirfy status code
This commit is contained in:
parent
1e5999c309
commit
54eddbcf23
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ async def inbox(
|
||||||
await save_incoming(db_session, payload)
|
await save_incoming(db_session, payload)
|
||||||
return Response(status_code=202)
|
return Response(status_code=202)
|
||||||
else:
|
else:
|
||||||
return Response(status_code=401)
|
return Response(status_code=406)
|
||||||
|
|
||||||
@app.get("/.well-known/webfinger")
|
@app.get("/.well-known/webfinger")
|
||||||
async def wellknown_webfinger(resource: str) -> JSONResponse:
|
async def wellknown_webfinger(resource: str) -> JSONResponse:
|
||||||
|
|
Loading…
Reference in a new issue