livebook/iframe
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
..
lib Serve iframes from another local port when running on http (#989) 2022-02-08 14:45:58 +01:00
priv/static Serve iframes from another local port when running on http (#989) 2022-02-08 14:45:58 +01:00
.formatter.exs Serve iframes from another local port when running on http (#989) 2022-02-08 14:45:58 +01:00
.gitignore Serve iframes from another local port when running on http (#989) 2022-02-08 14:45:58 +01:00
Dockerfile Serve iframes from another local port when running on http (#989) 2022-02-08 14:45:58 +01:00
fly.toml Serve iframes from another local port when running on http (#989) 2022-02-08 14:45:58 +01:00
mix.exs Serve iframes from another local port when running on http (#989) 2022-02-08 14:45:58 +01:00
mix.lock Serve iframes from another local port when running on http (#989) 2022-02-08 14:45:58 +01:00
README.md Serve iframes from another local port when running on http (#989) 2022-02-08 14:45:58 +01:00

Livebook iframes

Livebook executes custom JavaScript inside iframes. When running on http, they are served on a separate port. For https, they are safely served by livebook.space, which runs this application.