diff --git a/lib/plausible/prom_ex.ex b/lib/plausible/prom_ex.ex index 3cf68d84735b..fbac810e70fc 100644 --- a/lib/plausible/prom_ex.ex +++ b/lib/plausible/prom_ex.ex @@ -10,6 +10,7 @@ defmodule Plausible.PromEx do Plugins.Beam, Plugins.PhoenixLiveView, {Plugins.Phoenix, router: PlausibleWeb.Router, endpoint: PlausibleWeb.Endpoint}, + {Plugins.Phoenix, router: PlausibleWeb.Plugins.API.Router, endpoint: PlausibleWeb.Endpoint}, {Plugins.Ecto, repos: [ Plausible.Repo,