summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/config.exs3
-rw-r--r--config/dev.exs2
2 files changed, 3 insertions, 2 deletions
diff --git a/config/config.exs b/config/config.exs
index 703c10c48..bd714a189 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
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,