mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-02-03 00:31:25 -08:00
Pass requests to site_inbox on
(used by remote admins to inform of site bans)
This commit is contained in:
parent
9c4f59fcca
commit
b0b1bf68c8
1 changed files with 5 additions and 0 deletions
|
@ -439,6 +439,11 @@ def shared_inbox():
|
|||
return ''
|
||||
|
||||
|
||||
@bp.route('/site_inbox', methods=['GET', 'POST'])
|
||||
def site_inbox():
|
||||
return shared_inbox()
|
||||
|
||||
|
||||
@celery.task
|
||||
def process_inbox_request(request_json, activitypublog_id, ip_address):
|
||||
with current_app.app_context():
|
||||
|
|
Loading…
Add table
Reference in a new issue