From e07f88277ba51c71d0def6c97f99f5b7e71c80a6 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Mon, 22 Aug 2022 12:19:14 +0200 Subject: [PATCH] Use correct IP Signed-off-by: Thomas Citharel --- lib/graphql/resolvers/config.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/graphql/resolvers/config.ex b/lib/graphql/resolvers/config.ex index 5c5555d56..53ada9eae 100644 --- a/lib/graphql/resolvers/config.ex +++ b/lib/graphql/resolvers/config.ex @@ -12,7 +12,7 @@ defmodule Mobilizon.GraphQL.Resolvers.Config do """ @spec get_config(any(), map(), Absinthe.Resolution.t()) :: {:ok, map()} def get_config(_parent, _params, %{context: %{ip: ip}}) do - ip = "2a01:e0a:184:2000:1112:e19d:9779:88c8" + # ip = "2a01:e0a:184:2000:1112:e19d:9779:88c8" geolix = Geolix.lookup(ip) country_code =