Skip to content

Commit

Permalink
#2374 Fix typo in http config
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Apr 19, 2022
1 parent 8e97aa3 commit 803e98d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class ElasticClientProvider @Inject() (
val followRedirects = config.getOptional[Boolean]("search.redirectsEnabled")
val maxNumberOfRedirects = config.getOptional[Int]("search.maxRedirects")

val wsConfig = Try(Json.parse(config.underlying.getValue("search.trustStore.wsConfig").render(ConfigRenderOptions.concise())).as[ProxyWSConfig])
val wsConfig = Try(Json.parse(config.underlying.getValue("search.wsConfig").render(ConfigRenderOptions.concise())).as[ProxyWSConfig])
.getOrElse(ProxyWSConfig(AhcWSClientConfig(), None))
.merge(trustManager) { (cfg, tm) =>
cfg.copy(wsConfig =
Expand Down

0 comments on commit 803e98d

Please sign in to comment.