mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-02-24 14:58:35 +08:00
Fix the default base url path
This commit is contained in:
parent
957fdbb131
commit
a9d455d377
1 changed files with 2 additions and 1 deletions
|
@ -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 """
|
||||
|
|
Loading…
Reference in a new issue