From 12523b6ae4be5a9717783ea017ce1cbc0148ea62 Mon Sep 17 00:00:00 2001
From: Thomas Citharel <tcit@tcit.fr>
Date: Wed, 11 Aug 2021 11:43:45 +0200
Subject: [PATCH] Only listen on IPv4

Closes #802

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
---
 priv/templates/config.template.eex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/priv/templates/config.template.eex b/priv/templates/config.template.eex
index f66ce66e3..0ea44891c 100644
--- a/priv/templates/config.template.eex
+++ b/priv/templates/config.template.eex
@@ -6,7 +6,7 @@ config :mobilizon, Mobilizon.Web.Endpoint,
    server: <%= release %>,
    url: [host: "<%= instance_domain %>"],
    http: [
-     ip: {0, 0, 0, 0, 0, 0, 0, 1},
+     ip: {127,0,0,1},
      port: <%= listen_port %>
     ],
    secret_key_base: "<%= instance_secret %>"