mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
use inbox instead of shared_inbox
This commit is contained in:
parent
f10fb60577
commit
8618d43c1c
1 changed files with 2 additions and 2 deletions
|
@ -654,7 +654,7 @@ def activitypub_application():
|
||||||
'summary': g.site.name + ' - ' + g.site.description,
|
'summary': g.site.name + ' - ' + g.site.description,
|
||||||
'published': ap_datetime(g.site.created_at),
|
'published': ap_datetime(g.site.created_at),
|
||||||
'updated': ap_datetime(g.site.updated),
|
'updated': ap_datetime(g.site.updated),
|
||||||
'inbox': f"https://{current_app.config['SERVER_NAME']}/site_inbox",
|
'inbox': f"https://{current_app.config['SERVER_NAME']}/inbox",
|
||||||
'outbox': f"https://{current_app.config['SERVER_NAME']}/site_outbox",
|
'outbox': f"https://{current_app.config['SERVER_NAME']}/site_outbox",
|
||||||
'icon': {
|
'icon': {
|
||||||
'type': 'Image',
|
'type': 'Image',
|
||||||
|
@ -690,7 +690,7 @@ def instance_actor():
|
||||||
'publicKeyPem': g.site.public_key
|
'publicKeyPem': g.site.public_key
|
||||||
},
|
},
|
||||||
'endpoints': {
|
'endpoints': {
|
||||||
'sharedInbox': f"https://{current_app.config['SERVER_NAME']}/site_inbox",
|
'sharedInbox': f"https://{current_app.config['SERVER_NAME']}/inbox",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
resp = jsonify(application_data)
|
resp = jsonify(application_data)
|
||||||
|
|
Loading…
Reference in a new issue