Skip to content

Commit

Permalink
Fix Uri building for Proxy (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
danicheg authored Aug 13, 2021
1 parent 15fbeb8 commit 7d8730e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ private[client] trait Proxy[F[_]] {
httpClient.expect[String](
Request(
method,
//TODO: I think this is wrong (hamnis)
config.server.resolve(resourceUri) / name / s"proxy$path",
(config.server.resolve(resourceUri) / name / "proxy").addPath(path.toRelative.renderString),
headers = Headers(config.authorization.toList),
body = data.fold[EntityBody[F]](EmptyBody)(
implicitly[EntityEncoder[F, String]].withContentType(contentType).toEntity(_).body
Expand Down

0 comments on commit 7d8730e

Please sign in to comment.