Revert to URI.new! (#784)

This commit is contained in:
Jonatan Kłosko 2021-12-09 20:46:45 +01:00 committed by GitHub
parent c66582f8bb
commit b422e1d98f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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