From 5599c5920c293ac993146e21a73520213bbe2a8a Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Mon, 11 Dec 2017 10:37:22 +0100 Subject: Basic incoming AP support. --- config/config.exs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config/config.exs b/config/config.exs index c4f89c40c..f26f9ecdf 100644 --- a/config/config.exs +++ b/config/config.exs @@ -27,7 +27,8 @@ config :logger, :console, metadata: [:request_id] config :mime, :types, %{ - "application/xrd+xml" => ["xrd+xml"] + "application/xrd+xml" => ["xrd+xml"], + "application/activity+json" => ["activity+json"] } config :pleroma, :websub, Pleroma.Web.Websub -- cgit v1.2.3 From 13ea3eafe544f6d7d3e755505b4431dce119bcce Mon Sep 17 00:00:00 2001 From: lain Date: Sat, 24 Feb 2018 18:33:44 +0100 Subject: Longer header lenght. --- config/dev.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') diff --git a/config/dev.exs b/config/dev.exs index 83326e6f2..a697d3a24 100644 --- a/config/dev.exs +++ b/config/dev.exs @@ -7,7 +7,7 @@ use Mix.Config # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :pleroma, Pleroma.Web.Endpoint, - http: [port: 4000], + http: [port: 4000, protocol_options: [max_request_line_length: 8192, max_header_value_length: 8192]], protocol: "http", debug_errors: true, code_reloader: true, -- cgit v1.2.3