mirror of
https://github.com/livebook-dev/livebook.git
synced 2024-11-16 04:46:46 +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
|