Skip to content

Commit

Permalink
fix: use cohort server url
Browse files Browse the repository at this point in the history
  • Loading branch information
bgiori committed Aug 2, 2024
1 parent 4ab3c0b commit adae933
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/LocalEvaluationClient.kt
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ private fun getCohortServerUrl(config: LocalEvaluationConfig): HttpUrl {
config.cohortServerUrl.toHttpUrl()
} else {
when (config.serverZone) {
ServerZone.US -> US_SERVER_URL.toHttpUrl()
ServerZone.EU -> EU_SERVER_URL.toHttpUrl()
ServerZone.US -> US_COHORT_SERVER_URL.toHttpUrl()
ServerZone.EU -> EU_COHORT_SERVER_URL.toHttpUrl()
}
}
}
Expand Down

0 comments on commit adae933

Please sign in to comment.