mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-03-12 15:55:26 +08:00
Revert to URI.new! (#784)
This commit is contained in:
parent
c66582f8bb
commit
b422e1d98f
1 changed files with 2 additions and 2 deletions
|
@ -226,8 +226,8 @@ defmodule LivebookCLI.Server do
|
|||
|
||||
defp append_path(url, path) do
|
||||
url
|
||||
|> URI.new!()
|
||||
|> Map.update!(:path, &(&1 <> path))
|
||||
|> URI.parse()
|
||||
|> Map.update!(:path, &((&1 || "") <> path))
|
||||
|> URI.to_string()
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue