diff --git a/.gitignore b/.gitignore index d32c7a3c5..e17e12332 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,5 @@ erl_crash.dump .elixir_ls /doc +priv/static/GeoLite2-City.mmdb +.vscode/ \ No newline at end of file diff --git a/config/config.exs b/config/config.exs index 0d07197ca..627eb09fd 100644 --- a/config/config.exs +++ b/config/config.exs @@ -48,3 +48,12 @@ config :guardian, Guardian.DB, schema_name: "guardian_tokens", # default token_types: ["refresh_token"], # store all token types if not set sweep_interval: 60 # default: 60 minutes + +config :geolix, + databases: [ + %{ + id: :city, + adapter: Geolix.Adapter.MMDB2, + source: "priv/static/GeoLite2-City.mmdb" + } + ] diff --git a/js/src/App.vue b/js/src/App.vue index 4714027db..24816741b 100644 --- a/js/src/App.vue +++ b/js/src/App.vue @@ -9,6 +9,22 @@ enable-resize-watcher > + + + + + + + + {{ this.displayed_name }} + +