fixing clients

new frontend
This commit is contained in:
stefan
2025-09-25 22:41:36 +02:00
parent 75f53dcd89
commit eae3d0ee03
5 changed files with 12 additions and 4 deletions
+5
View File
@@ -63,5 +63,10 @@ kotlin {
implementation(libs.ktor.client.cio)
}
}
val jsMain by getting {
dependencies {
implementation(libs.ktor.client.js)
}
}
}
}
@@ -12,7 +12,7 @@ import io.ktor.serialization.kotlinx.json.*
import kotlinx.serialization.json.Json
class PingApiClient(
private val baseUrl: String = "http://localhost:8080"
private val baseUrl: String = "http://localhost:8081"
) : PingApi {
private val client = HttpClient {