From e81c9eb128001bfa9512a29e41a61d77a20e1050 Mon Sep 17 00:00:00 2001 From: Melonai Date: Mon, 16 Aug 2021 19:16:00 +0200 Subject: Parse user agent --- mix.exs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'mix.exs') diff --git a/mix.exs b/mix.exs index 19aa3de..f09a0b5 100644 --- a/mix.exs +++ b/mix.exs @@ -20,6 +20,9 @@ defmodule Rook.MixProject do def application do [ mod: {Rook.Application, []}, + included_applications: [ + :ua_inspector + ], extra_applications: [:logger, :runtime_tools] ] end @@ -41,7 +44,8 @@ defmodule Rook.MixProject do {:telemetry_poller, "~> 0.4"}, {:jason, "~> 1.0"}, {:plug_cowboy, "~> 2.0"}, - {:nanoid, "~> 2.0"} + {:nanoid, "~> 2.0"}, + {:ua_inspector, "~> 2.0"} ] end @@ -53,7 +57,7 @@ defmodule Rook.MixProject do # See the documentation for `Mix` for more info on aliases. defp aliases do [ - setup: ["deps.get", "cmd cd assets; yarn"] + setup: ["deps.get", "ua_inspector.download", "cmd cd assets; yarn"] ] end end -- cgit 1.4.1