From: Roger Braun Date: Thu, 24 Aug 2017 11:36:28 +0000 (+0200) Subject: Small meta info fixes. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=7ccdebe1800d4790f42172704c61bdc0e3d08d5e;p=akkoma Small meta info fixes. --- diff --git a/lib/pleroma/web/router.ex b/lib/pleroma/web/router.ex index d42981ee0..f88b71915 100644 --- a/lib/pleroma/web/router.ex +++ b/lib/pleroma/web/router.ex @@ -27,6 +27,7 @@ defmodule Pleroma.Web.Router do pipe_through :api get "/help/test", TwitterAPI.UtilController, :help_test + post "/help/test", TwitterAPI.UtilController, :help_test get "/statusnet/config", TwitterAPI.UtilController, :config get "/statuses/public_timeline", TwitterAPI.Controller, :public_timeline diff --git a/lib/pleroma/web/twitter_api/controllers/util_controller.ex b/lib/pleroma/web/twitter_api/controllers/util_controller.ex index 6d6fd2202..2bcae74ce 100644 --- a/lib/pleroma/web/twitter_api/controllers/util_controller.ex +++ b/lib/pleroma/web/twitter_api/controllers/util_controller.ex @@ -11,7 +11,7 @@ defmodule Pleroma.Web.TwitterAPI.UtilController do site: %{ name: Web.base_url, server: Web.base_url, - textlimit: -1 + textlimit: 5000 } }) end