Skip to content

Commit 1bc0dc1

Browse files
committed
cosmetics
1 parent 401914b commit 1bc0dc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ Append `/` to the path part of `url`; i.e., transform `a/b` to `a/b/` and `/a/b?
109109
"""
110110
function append_slash(url_str::AbstractString)
111111
uri = HTTP.URI(url_str)
112-
return string(endswith(uri.path, "/") ? uri : HTTP.merge(uri; path = uri.path * "/"))
112+
return string(endswith(uri.path, "/") ? uri : HTTP.URI(uri; path = uri.path * "/"))
113113
end
114114

115115
"""

0 commit comments

Comments
 (0)