X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=config%2Fprod.exs;h=42edccf644fcb1622bc7769e6e8ebf094fcc0132;hb=fb4af26d75406f557a8b1a8dd388e16865b5bda2;hp=d0cfd1ac2f895ce7cea4905e74542a67e72f0efd;hpb=480932c8e524e1a80c9c8ef1a1aa23379f633afe;p=akkoma diff --git a/config/prod.exs b/config/prod.exs index d0cfd1ac2..42edccf64 100644 --- a/config/prod.exs +++ b/config/prod.exs @@ -17,8 +17,10 @@ config :pleroma, Pleroma.Web.Endpoint, http: [port: 4000], protocol: "http" +config :phoenix, serve_endpoints: true + # Do not print debug messages in production -config :logger, level: :info +config :logger, level: :warn # ## SSL Support # @@ -61,3 +63,6 @@ config :logger, level: :info # Finally import the config/prod.secret.exs # which should be versioned separately. import_config "prod.secret.exs" + +if File.exists?("./config/prod.migrated.secret.exs"), + do: import_config("./config/prod.migrated.secret.exs")