X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=config%2Fprod.exs;h=42edccf644fcb1622bc7769e6e8ebf094fcc0132;hb=fb4af26d75406f557a8b1a8dd388e16865b5bda2;hp=8522c67daee0405804a216ce019e9646670ea702;hpb=ad0ab3a57bc5591806cae0201d8077ffb10b6634;p=akkoma diff --git a/config/prod.exs b/config/prod.exs index 8522c67da..42edccf64 100644 --- a/config/prod.exs +++ b/config/prod.exs @@ -15,14 +15,12 @@ use Mix.Config # which you typically run after static files are built. config :pleroma, Pleroma.Web.Endpoint, http: [port: 4000], - protocol: "http", - debug_errors: true, - code_reloader: true, - check_origin: false, - watchers: [] + protocol: "http" + +config :phoenix, serve_endpoints: true # Do not print debug messages in production -config :logger, level: :info +config :logger, level: :warn # ## SSL Support # @@ -65,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")