Set serve_endpoints to true in prod config as setting it in runtime
authorrinpatch <rinpatch@sdf.org>
Sat, 8 Jun 2019 14:17:28 +0000 (17:17 +0300)
committerrinpatch <rinpatch@sdf.org>
Sat, 8 Jun 2019 14:17:28 +0000 (17:17 +0300)
config would cause issues with mix tasks

config/prod.exs

index d0cfd1ac2f895ce7cea4905e74542a67e72f0efd..cd5cdb087eb1b566b3947d972abc7a6fd37f1ca5 100644 (file)
@@ -15,7 +15,8 @@ use Mix.Config
 # which you typically run after static files are built.
 config :pleroma, Pleroma.Web.Endpoint,
   http: [port: 4000],
-  protocol: "http"
+  protocol: "http",
+  serve_endpoints: true
 
 # Do not print debug messages in production
 config :logger, level: :info