From 3d374bf7df6a5cc4bacefefcb133387fe4c5265f Mon Sep 17 00:00:00 2001 From: rinpatch Date: Sat, 8 Jun 2019 17:15:49 +0300 Subject: Basic release skeleton --- config/releases.exs | 1 + 1 file changed, 1 insertion(+) create mode 100644 config/releases.exs (limited to 'config') diff --git a/config/releases.exs b/config/releases.exs new file mode 100644 index 000000000..becde7693 --- /dev/null +++ b/config/releases.exs @@ -0,0 +1 @@ +import Config -- cgit v1.2.3 From 4b98a7ce4ef4b4e7b74f533e6d6ed343e1b34c48 Mon Sep 17 00:00:00 2001 From: rinpatch Date: Sat, 8 Jun 2019 17:17:28 +0300 Subject: Set serve_endpoints to true in prod config as setting it in runtime config would cause issues with mix tasks --- config/prod.exs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config/prod.exs b/config/prod.exs index d0cfd1ac2..cd5cdb087 100644 --- a/config/prod.exs +++ b/config/prod.exs @@ -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 -- cgit v1.2.3 From b6d2db42a759354bb21e2385021dfb6acfe29ef2 Mon Sep 17 00:00:00 2001 From: rinpatch Date: Sat, 8 Jun 2019 21:26:00 +0300 Subject: Fix wrong placement of serve_endpoints --- config/prod.exs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config/prod.exs b/config/prod.exs index cd5cdb087..adc1c4bb7 100644 --- a/config/prod.exs +++ b/config/prod.exs @@ -15,8 +15,9 @@ use Mix.Config # which you typically run after static files are built. config :pleroma, Pleroma.Web.Endpoint, http: [port: 4000], - protocol: "http", - serve_endpoints: true + protocol: "http" + +config :phoenix, serve_endpoints: true # Do not print debug messages in production config :logger, level: :info -- cgit v1.2.3