This commit is contained in:
+4
-1
@@ -37,7 +37,10 @@ mastodon.stream_hashtag("pubspace", PubspaceListener(), run_async=True)
|
|||||||
|
|
||||||
@app.get("/")
|
@app.get("/")
|
||||||
async def home(request: Request):
|
async def home(request: Request):
|
||||||
app.state.log.info(await request.json())
|
try:
|
||||||
|
app.state.log.info(await request.json())
|
||||||
|
except Exception:
|
||||||
|
return {}
|
||||||
|
|
||||||
|
|
||||||
@app.get("/healthz")
|
@app.get("/healthz")
|
||||||
|
|||||||
Reference in New Issue
Block a user