summaryrefslogtreecommitdiff
path: root/config/test.exs
diff options
context:
space:
mode:
authorLain Soykaf <lain@lain.com>2024-05-27 21:26:40 +0400
committerLain Soykaf <lain@lain.com>2024-05-27 21:26:40 +0400
commit1c699144d23aa4a86ff8b6ebef7d760ce9e3a4e2 (patch)
tree215becaaca801c5917d90d2f59b0e90aae57e57d /config/test.exs
parent07b7a8d697344fbb82043599006fb2b4e03aa46d (diff)
downloadpleroma-1c699144d23aa4a86ff8b6ebef7d760ce9e3a4e2.tar.gz
pleroma-1c699144d23aa4a86ff8b6ebef7d760ce9e3a4e2.zip
HttpSecurityPlug: Don't allow unsafe-eval by default
Diffstat (limited to 'config/test.exs')
-rw-r--r--config/test.exs1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/test.exs b/config/test.exs
index 3345bb3a9..b5c9c6e4a 100644
--- a/config/test.exs
+++ b/config/test.exs
@@ -154,6 +154,7 @@ config :pleroma, Pleroma.Upload, config_impl: Pleroma.UnstubbedConfigMock
config :pleroma, Pleroma.ScheduledActivity, config_impl: Pleroma.UnstubbedConfigMock
config :pleroma, Pleroma.Web.RichMedia.Helpers, config_impl: Pleroma.StaticStubbedConfigMock
config :pleroma, Pleroma.Uploaders.IPFS, config_impl: Pleroma.UnstubbedConfigMock
+config :pleroma, Pleroma.Web.Plugs.HTTPSecurityPlug, config_impl: Pleroma.UnstubbedConfigMock
peer_module =
if String.to_integer(System.otp_release()) >= 25 do