From 05aeb186e5cb23fcff56d67dbcd08284093a1e7b Mon Sep 17 00:00:00 2001 From: Greg Evseev Date: Tue, 10 Sep 2024 10:10:55 +0200 Subject: [PATCH 1/2] fix: update phoenix_analytics path in Mix.install Changed the path of phoenix_analytics from a relative external path to the local directory to ensure proper dependency loading. --- priv/repo/dev.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/priv/repo/dev.exs b/priv/repo/dev.exs index 2a137fa..606565e 100644 --- a/priv/repo/dev.exs +++ b/priv/repo/dev.exs @@ -1,7 +1,7 @@ #!/usr/bin/env elixir Mix.install([ {:phoenix_playground, "~> 0.1.5"}, - {:phoenix_analytics, path: "../phoenix_analytics", force: true} + {:phoenix_analytics, path: ".", force: true} ]) IO.puts("DUCK_PATH: #{System.get_env("DUCK_PATH")}") From 26aeee80f571bd0f0e878b202c2dfca9fd261563 Mon Sep 17 00:00:00 2001 From: Greg Evseev Date: Tue, 10 Sep 2024 12:20:04 +0200 Subject: [PATCH 2/2] fix: update phoenix_analytics path in Mix.install Add `ip: {0, 0, 0, 0}` to endpoint_options --- priv/repo/dev.exs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/priv/repo/dev.exs b/priv/repo/dev.exs index 606565e..efbc1e0 100644 --- a/priv/repo/dev.exs +++ b/priv/repo/dev.exs @@ -95,7 +95,8 @@ end PhoenixPlayground.start( plug: DevRouter, endpoint_options: [ - secret_key_base: "gpaTilt0aZo38EYNrPqIA8rNGhsuysCMe8GxMps6/HZQ3xnjtIiG0UyKIHBaI+FM" + secret_key_base: "gpaTilt0aZo38EYNrPqIA8rNGhsuysCMe8GxMps6/HZQ3xnjtIiG0UyKIHBaI+FM", + ip: {0, 0, 0, 0}, ], open_browser: false, child_specs: []