livebook/lib/livebook_web/controllers/health_controller.ex
2022-02-04 21:44:56 +01:00

11 lines
238 B
Elixir

defmodule LivebookWeb.HealthController do
use LivebookWeb, :controller
def index(conn, _params) do
conn
|> put_resp_header("access-control-allow-origin", "*")
|> json(%{
"application" => "livebook"
})
end
end