Short circuit user verification if cookie is present.
[akkoma] / lib / pleroma / web / router.ex
index c60107072a2326b633b07f0c1147eb3e60785343..52030d684ac16d093977094286974f7bcd94dde8 100644 (file)
@@ -35,5 +35,6 @@ defmodule Pleroma.Web.Router do
     get "/statuses/friends_timeline", TwitterAPI.Controller, :friends_timeline
     post "/friendships/create", TwitterAPI.Controller, :follow
     post "/friendships/destroy", TwitterAPI.Controller, :unfollow
+    post "/statusnet/media/upload", TwitterAPI.Controller, :upload
   end
 end