mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-02-20 21:04:17 +08:00
Remove version from the health endpoint (#601)
This commit is contained in:
parent
5131a9e683
commit
3a8c11cb10
1 changed files with 1 additions and 4 deletions
|
@ -2,13 +2,10 @@ defmodule LivebookWeb.HealthController do
|
|||
use LivebookWeb, :controller
|
||||
|
||||
def index(conn, _params) do
|
||||
version = Application.spec(:livebook, :vsn) |> List.to_string()
|
||||
|
||||
conn
|
||||
|> put_resp_header("Access-Control-Allow-Origin", "*")
|
||||
|> json(%{
|
||||
"application" => "livebook",
|
||||
"version" => version
|
||||
"application" => "livebook"
|
||||
})
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue