activitypub: user view: use route helpers instead of hardcoded URIs
[akkoma] / lib / pleroma / web / router.ex
index 5b5627ce84cb20a8a1796de752439e7dd0eb677d..d66a1c2a136b2d60eec02d900e747a5d90b99790 100644 (file)
@@ -468,8 +468,8 @@ defmodule Pleroma.Web.Router do
 
   scope "/", Pleroma.Web.ActivityPub do
     pipe_through(:activitypub)
-    post("/users/:nickname/inbox", ActivityPubController, :inbox)
     post("/inbox", ActivityPubController, :inbox)
+    post("/users/:nickname/inbox", ActivityPubController, :inbox)
   end
 
   scope "/.well-known", Pleroma.Web do