mirror of
				https://github.com/livebook-dev/livebook.git
				synced 2025-10-31 07:46:18 +08:00 
			
		
		
		
	* 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
		
			
				
	
	
		
			26 lines
		
	
	
	
		
			420 B
		
	
	
	
		
			Elixir
		
	
	
	
	
	
			
		
		
	
	
			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
 |