mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
post url
This commit is contained in:
parent
f9f236da13
commit
ed024f91e5
1 changed files with 1 additions and 0 deletions
|
@ -963,6 +963,7 @@ def comment_ap(comment_id):
|
|||
|
||||
|
||||
@bp.route('/post/<int:post_id>', methods=['GET', 'POST'])
|
||||
@bp.route('/post/<int:post_id>/', methods=['GET', 'POST'])
|
||||
def post_ap(post_id):
|
||||
if request.method == 'GET' and is_activitypub_request():
|
||||
post = Post.query.get_or_404(post_id)
|
||||
|
|
Loading…
Add table
Reference in a new issue