Fix releases by not relying on Mix

This commit is contained in:
Mark Felder 2025-03-19 10:47:32 -07:00
parent 7107901f60
commit 638d047a5c
2 changed files with 2 additions and 1 deletions

1
changelog.d/releases.fix Normal file
View file

@ -0,0 +1 @@
Fix release builds

View file

@ -56,7 +56,7 @@ defmodule Pleroma.Application do
Pleroma.Web.Plugs.HTTPSecurityPlug.warn_if_disabled()
end
if Mix.env() != :test do
if Config.get(:env) != :test do
Pleroma.ApplicationRequirements.verify!()
end