mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-26 01:38:36 +00:00
Use correct IP
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
c72f050993
commit
e07f88277b
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ defmodule Mobilizon.GraphQL.Resolvers.Config do
|
||||||
"""
|
"""
|
||||||
@spec get_config(any(), map(), Absinthe.Resolution.t()) :: {:ok, map()}
|
@spec get_config(any(), map(), Absinthe.Resolution.t()) :: {:ok, map()}
|
||||||
def get_config(_parent, _params, %{context: %{ip: ip}}) do
|
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)
|
geolix = Geolix.lookup(ip)
|
||||||
|
|
||||||
country_code =
|
country_code =
|
||||||
|
|
Loading…
Reference in a new issue