forked from shibao/cannery
enable live dashboard os monitoring
This commit is contained in:
parent
b49e3c3fa6
commit
1235243a39
@ -72,7 +72,7 @@ defmodule CanneryWeb.UserRegistrationController do
|
|||||||
|> redirect(to: Routes.user_session_path(Endpoint, :new))
|
|> redirect(to: Routes.user_session_path(Endpoint, :new))
|
||||||
|
|
||||||
{:error, %Ecto.Changeset{} = changeset} ->
|
{:error, %Ecto.Changeset{} = changeset} ->
|
||||||
render(conn, "new.html", changeset: changeset, invite: invite)
|
conn |> render("new.html", changeset: changeset, invite: invite)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
2
mix.exs
2
mix.exs
@ -33,7 +33,7 @@ defmodule Cannery.MixProject do
|
|||||||
def application do
|
def application do
|
||||||
[
|
[
|
||||||
mod: {Cannery.Application, []},
|
mod: {Cannery.Application, []},
|
||||||
extra_applications: [:logger, :runtime_tools]
|
extra_applications: [:logger, :runtime_tools, :os_mon],
|
||||||
]
|
]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user