Return feed for xml requests of the user.
authorRoger Braun <roger@rogerbraun.net>
Mon, 1 May 2017 12:07:41 +0000 (14:07 +0200)
committerRoger Braun <roger@rogerbraun.net>
Mon, 1 May 2017 12:07:41 +0000 (14:07 +0200)
lib/pleroma/web/router.ex

index 2ff75ec5dc745d86fc680df05eb4a7e7de2fe7f2..e875839df265489264914d039ac0d2a00d603d30 100644 (file)
@@ -74,6 +74,7 @@ defmodule Pleroma.Web.Router do
     pipe_through :ostatus
 
     get "/users/:nickname/feed", OStatus.OStatusController, :feed
+    get "/users/:nickname", OStatus.OStatusController, :feed
     post "/users/:nickname/salmon", OStatus.OStatusController, :salmon_incoming
     post "/push/hub/:nickname", Websub.WebsubController, :websub_subscription_request
     get "/push/subscriptions/:id", Websub.WebsubController, :websub_subscription_confirmation