kopia lustrzana https://github.com/snarfed/bridgy-fed
shared inbox bug fix
fixes https://console.cloud.google.com/errors/detail/CK7Cx8KS7qyNHQ;time=P30D?project=bridgy-federatedpull/292/head
rodzic
dbf4712af4
commit
dde86008e2
|
@ -117,7 +117,7 @@ def actor(domain):
|
|||
|
||||
@app.post(f'/inbox')
|
||||
@app.post(f'/<regex("{common.DOMAIN_RE}"):domain>/inbox')
|
||||
def inbox(domain):
|
||||
def inbox(domain=None):
|
||||
"""Handles ActivityPub inbox delivery."""
|
||||
body = request.get_data(as_text=True)
|
||||
logger.info(f'Got: {body}')
|
||||
|
|
Ładowanie…
Reference in New Issue