This commit is contained in:
2026-03-02 08:40:30 -07:00
parent 2b013f390b
commit 9955a7f90c
39 changed files with 1388 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
defmodule BackendWeb.HealthController do
use BackendWeb, :controller
# Disable logging for health checks
plug(:disable_logging)
def check(conn, _params) do
json(conn, %{status: "ok", node: node()})
end
defp disable_logging(conn, _opts) do
Logger.metadata(plug_log_level: :none)
conn
end
end