From adae933e3396d5d29e4cdcd1231417ec17cc9d6d Mon Sep 17 00:00:00 2001 From: Brian Giori Date: Fri, 2 Aug 2024 09:49:54 -0700 Subject: [PATCH] fix: use cohort server url --- src/main/kotlin/LocalEvaluationClient.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/LocalEvaluationClient.kt b/src/main/kotlin/LocalEvaluationClient.kt index 0963493..6bd6574 100644 --- a/src/main/kotlin/LocalEvaluationClient.kt +++ b/src/main/kotlin/LocalEvaluationClient.kt @@ -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() } } }