From 7ccdebe1800d4790f42172704c61bdc0e3d08d5e Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Thu, 24 Aug 2017 13:36:28 +0200 Subject: [PATCH] Small meta info fixes. --- lib/pleroma/web/router.ex | 1 + lib/pleroma/web/twitter_api/controllers/util_controller.ex | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- 2.45.2