mirror of
https://github.com/livebook-dev/livebook.git
synced 2024-11-16 12:57:32 +08:00
11 lines
238 B
Elixir
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
|