From efe2b9e36e0fe86abd9666f2d3af4fb84eadcdfb Mon Sep 17 00:00:00 2001 From: Shahroz Khan Date: Fri, 14 Jan 2022 21:58:37 +0500 Subject: [PATCH] fix: updated host endpoints (#53) --- sdk/src/main/java/io/customer/sdk/data/model/Region.kt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sdk/src/main/java/io/customer/sdk/data/model/Region.kt b/sdk/src/main/java/io/customer/sdk/data/model/Region.kt index 9db66b542..2315ffabf 100644 --- a/sdk/src/main/java/io/customer/sdk/data/model/Region.kt +++ b/sdk/src/main/java/io/customer/sdk/data/model/Region.kt @@ -5,6 +5,10 @@ package io.customer.sdk.data.model * The SDK will route traffic to the correct data center location depending on the `Region` that you use. */ sealed class Region(val code: String, val baseUrl: String) { - object US : Region(code = "us", baseUrl = "https://track.customer.io/") - object EU : Region(code = "eu", baseUrl = "https://track-eu.customer.io/") + + // Note: These URLs are meant to be used specifically by the official + // mobile SDKs. View our API docs: https://customer.io/docs/api/ + // to find the correct hostname for what you're trying to do. + object US : Region(code = "us", baseUrl = "https://track-sdk.customer.io/") + object EU : Region(code = "eu", baseUrl = "https://track-sdk-eu.customer.io/") }