summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/config.exs6
-rw-r--r--config/test.exs2
2 files changed, 8 insertions, 0 deletions
diff --git a/config/config.exs b/config/config.exs
index 2b041b10f..3826dddff 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -26,6 +26,12 @@ config :logger, :console,
format: "$time $metadata[$level] $message\n",
metadata: [:request_id]
+config :mime, :types, %{
+ "application/xrd+xml" => ["xrd+xml"]
+}
+
+config :pleroma, :websub_verifier, Pleroma.Web.Websub
+
# Import environment specific config. This must remain at the bottom
# of this file so it overrides the configuration defined above.
import_config "#{Mix.env}.exs"
diff --git a/config/test.exs b/config/test.exs
index f5d6f240d..5d91279a2 100644
--- a/config/test.exs
+++ b/config/test.exs
@@ -24,3 +24,5 @@ config :pleroma, Pleroma.Repo,
# Reduce hash rounds for testing
config :comeonin, :pbkdf2_rounds, 1
+
+config :pleroma, :websub_verifier, Pleroma.Web.WebsubMock