diff --git a/datasource/src/main/kotlin/gq/kirmanak/mealient/datasource/impl/BaseUrlInterceptor.kt b/datasource/src/main/kotlin/gq/kirmanak/mealient/datasource/impl/BaseUrlInterceptor.kt index 933e5d5..5df239c 100644 --- a/datasource/src/main/kotlin/gq/kirmanak/mealient/datasource/impl/BaseUrlInterceptor.kt +++ b/datasource/src/main/kotlin/gq/kirmanak/mealient/datasource/impl/BaseUrlInterceptor.kt @@ -29,6 +29,7 @@ class BaseUrlInterceptor @Inject constructor( .newBuilder() .host(baseUrl.host) .scheme(baseUrl.scheme) + .port(baseUrl.port) .build() val newRequest = oldRequest.newBuilder().url(correctUrl).build() logger.d { "Replaced ${oldRequest.url} with ${newRequest.url}" }