Move epmdless check to Livebook.Config

This commit is contained in:
José Valim 2024-05-14 11:12:00 +02:00
parent 5964bd3e09
commit 4d58f32668

View file

@ -335,6 +335,13 @@ defmodule Livebook.Config do
Application.fetch_env!(:livebook, :update_instructions_url)
end
@doc """
Returns a boolean if epmdless mode is configured.
"""
def epmdless? do
Application.fetch_env!(:livebook, :epmdless)
end
@doc """
Returns the force ssl host if any.
"""