From b422e1d98f8ad7c0b3b6f90bb23ca1475acc672f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonatan=20K=C5=82osko?= Date: Thu, 9 Dec 2021 20:46:45 +0100 Subject: [PATCH] Revert to URI.new! (#784) --- lib/livebook_cli/server.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/livebook_cli/server.ex b/lib/livebook_cli/server.ex index 2e7cf0445..4815f0897 100644 --- a/lib/livebook_cli/server.ex +++ b/lib/livebook_cli/server.ex @@ -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