livebook/iframe/mix.exs
Jonatan Kłosko e5e13d86c2
Serve iframes from another local port when running on http (#989)
* Serve iframes from another local port when running on http

* Use relative hostname in local iframe URL

* Simplify server start check

* Use random iframe port when Livebook runs on a random port

* Rename space/ to iframe/

* LivebookWeb.IframePlug -> LivebookWeb.IframeEndpoint
2022-02-08 14:45:58 +01:00

26 lines
420 B
Elixir

defmodule LivebookSpace.MixProject do
use Mix.Project
def project do
[
app: :livebook_space,
version: "0.1.0",
elixir: "~> 1.13",
start_permanent: Mix.env() == :prod,
deps: deps()
]
end
def application do
[
extra_applications: [:logger],
mod: {LivebookSpace.Application, []}
]
end
defp deps do
[
{:plug_cowboy, "~> 2.0"}
]
end
end