diff options
author | Andrew Godwin | 2022-11-16 06:53:39 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-11-16 13:53:40 -0700 |
commit | 495e955378d62dc439c4c210785e5d401bc77f64 (patch) | |
tree | 859813b06314f387470295e752d1f1b3828830a7 /takahe | |
parent | 906ed2f27c9105dbd78f416930f1aa2b49497567 (diff) | |
download | takahe-495e955378d62dc439c4c210785e5d401bc77f64.tar.gz takahe-495e955378d62dc439c4c210785e5d401bc77f64.tar.bz2 takahe-495e955378d62dc439c4c210785e5d401bc77f64.zip |
Tag and visibility handling
Diffstat (limited to 'takahe')
-rw-r--r-- | takahe/urls.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/takahe/urls.py b/takahe/urls.py index a87ec87..723516a 100644 --- a/takahe/urls.py +++ b/takahe/urls.py @@ -8,6 +8,7 @@ from users.views import activitypub, auth, identity urlpatterns = [ path("", core.homepage), + path("manifest.json", core.AppManifest.as_view()), # Activity views path("notifications/", timelines.Notifications.as_view()), path("local/", timelines.Local.as_view()), @@ -18,7 +19,8 @@ urlpatterns = [ path("@<handle>/actor/inbox/", activitypub.Inbox.as_view()), path("@<handle>/action/", identity.ActionIdentity.as_view()), # Posts - path("@<handle>/posts/<int:post_id>/", posts.Post.as_view()), + path("compose/", posts.Compose.as_view()), + path("@<handle>/posts/<int:post_id>/", posts.Individual.as_view()), path("@<handle>/posts/<int:post_id>/like/", posts.Like.as_view()), path("@<handle>/posts/<int:post_id>/unlike/", posts.Like.as_view(undo=True)), path("@<handle>/posts/<int:post_id>/boost/", posts.Boost.as_view()), |