From ed024f91e527a0f5148928fc0ac37cb5e47d833f Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Fri, 12 Jan 2024 17:55:01 +1300 Subject: [PATCH] post url --- app/activitypub/routes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/activitypub/routes.py b/app/activitypub/routes.py index 23662edc..ceb9f4a9 100644 --- a/app/activitypub/routes.py +++ b/app/activitypub/routes.py @@ -963,6 +963,7 @@ def comment_ap(comment_id): @bp.route('/post/', methods=['GET', 'POST']) +@bp.route('/post//', methods=['GET', 'POST']) def post_ap(post_id): if request.method == 'GET' and is_activitypub_request(): post = Post.query.get_or_404(post_id)