mirror of
https://github.com/TheRealOwenRees/chess-endgame-trainer.git
synced 2026-11-18 03:32:06 +00:00
14 lines
290 B
Elixir
14 lines
290 B
Elixir
defmodule ChesstrainerWeb.HealthController do
|
|
@moduledoc """
|
|
Lightweight health check used by deploys and uptime monitors.
|
|
"""
|
|
|
|
use ChesstrainerWeb, :controller
|
|
|
|
def index(conn, _params) do
|
|
conn
|
|
|> put_resp_content_type("text/plain")
|
|
|> send_resp(200, "ok")
|
|
end
|
|
end
|