summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorfeld <feld@feld.me>2020-10-13 14:47:29 +0000
committerfeld <feld@feld.me>2020-10-13 14:47:29 +0000
commit8b6221d4ecd1d7e354e7de831dd46e285cb85077 (patch)
tree992e96bbdf4b40a5738ca2306ba3acf4158b17d5 /config
parenteea879eb362d3310d4fe047fb6412b69dd8711fe (diff)
parent4c4ea9a3486f824cfba825a176439d50ec54fe95 (diff)
downloadpleroma-8b6221d4ecd1d7e354e7de831dd46e285cb85077.tar.gz
pleroma-8b6221d4ecd1d7e354e7de831dd46e285cb85077.zip
Merge branch 'feature/1822-files-consistency' into 'develop'
Feature/1822 files consistency Closes #1822 See merge request pleroma/pleroma!2680
Diffstat (limited to 'config')
-rw-r--r--config/config.exs2
-rw-r--r--config/description.exs4
-rw-r--r--config/test.exs2
3 files changed, 4 insertions, 4 deletions
diff --git a/config/config.exs b/config/config.exs
index d53663d36..273da5bb6 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -677,7 +677,7 @@ config :pleroma, :rate_limit,
config :pleroma, Pleroma.Workers.PurgeExpiredActivity, enabled: true, min_lifetime: 600
-config :pleroma, Pleroma.Plugs.RemoteIp,
+config :pleroma, Pleroma.Web.Plugs.RemoteIp,
enabled: true,
headers: ["x-forwarded-for"],
proxies: [],
diff --git a/config/description.exs b/config/description.exs
index 3902b9632..6e83a8e09 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -3250,10 +3250,10 @@ config :pleroma, :config_description, [
},
%{
group: :pleroma,
- key: Pleroma.Plugs.RemoteIp,
+ key: Pleroma.Web.Plugs.RemoteIp,
type: :group,
description: """
- `Pleroma.Plugs.RemoteIp` is a shim to call [`RemoteIp`](https://git.pleroma.social/pleroma/remote_ip) but with runtime configuration.
+ `Pleroma.Web.Plugs.RemoteIp` is a shim to call [`RemoteIp`](https://git.pleroma.social/pleroma/remote_ip) but with runtime configuration.
**If your instance is not behind at least one reverse proxy, you should not enable this plug.**
""",
children: [
diff --git a/config/test.exs b/config/test.exs
index 95f860f2f..7cc660e3c 100644
--- a/config/test.exs
+++ b/config/test.exs
@@ -113,7 +113,7 @@ config :pleroma, Pleroma.Gun, Pleroma.GunMock
config :pleroma, Pleroma.Emails.NewUsersDigestEmail, enabled: true
-config :pleroma, Pleroma.Plugs.RemoteIp, enabled: false
+config :pleroma, Pleroma.Web.Plugs.RemoteIp, enabled: false
config :pleroma, Pleroma.Web.ApiSpec.CastAndValidate, strict: true