diff --git a/publishing/ktor/client/src/commonMain/kotlin/com/insanusmokrassar/postssystem/publishing/ktor/client/PublishingKeysRepoKtorClient.kt b/publishing/ktor/client/src/commonMain/kotlin/com/insanusmokrassar/postssystem/publishing/ktor/client/PublishingKeysRepoKtorClient.kt index d2b32baa..7739efc0 100644 --- a/publishing/ktor/client/src/commonMain/kotlin/com/insanusmokrassar/postssystem/publishing/ktor/client/PublishingKeysRepoKtorClient.kt +++ b/publishing/ktor/client/src/commonMain/kotlin/com/insanusmokrassar/postssystem/publishing/ktor/client/PublishingKeysRepoKtorClient.kt @@ -3,6 +3,7 @@ package com.insanusmokrassar.postssystem.publishing.ktor.client import com.insanusmokrassar.postssystem.core.publishing.repos.PublishingKeysRepo import com.insanusmokrassar.postssystem.core.publishing.repos.ReadPublishingKeysRepo import com.insanusmokrassar.postssystem.core.publishing.repos.WritePublishingKeysRepo +import com.insanusmokrassar.postssystem.publishing.ktor.publishingKeysRootRoute import io.ktor.client.HttpClient import io.ktor.client.features.websocket.WebSockets @@ -17,11 +18,11 @@ class PublishingKeysRepoKtorClient private constructor ( } ) : this ( ReadPublishingKeysRepoKtorClient ( - baseUrl, + "$baseUrl/$publishingKeysRootRoute", client ), WritePublishingKeysRepoKtorClient( - baseUrl, + "$baseUrl/$publishingKeysRootRoute", client ) )