Fix the default base url path

This commit is contained in:
Jonatan Kłosko 2022-11-30 00:00:21 +01:00
parent 957fdbb131
commit a9d455d377

View file

@ -92,7 +92,8 @@ defmodule Livebook.Config do
"""
@spec base_url_path() :: String.t()
def base_url_path() do
Application.get_env(:livebook, LivebookWeb.Endpoint)[:url][:path]
path = Application.get_env(:livebook, LivebookWeb.Endpoint)[:url][:path]
String.trim_trailing(path, "/")
end
@doc """