diff --git a/build.gradle.kts b/build.gradle.kts index 7b1140e2..5bf40f6e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -27,7 +27,7 @@ plugins { } group = "io.github.udhayarajan" -version = "5.3.11" +version = "5.3.12" //Version Naming incremented if ".." //Priority on incrementing Feature > BugFix > Beta diff --git a/src/commonMain/kotlin/com/mugames/vidsnapkit/network/HttpRequest.kt b/src/commonMain/kotlin/com/mugames/vidsnapkit/network/HttpRequest.kt index 18a65a4d..6a9bf7b0 100644 --- a/src/commonMain/kotlin/com/mugames/vidsnapkit/network/HttpRequest.kt +++ b/src/commonMain/kotlin/com/mugames/vidsnapkit/network/HttpRequest.kt @@ -53,7 +53,7 @@ class HttpRequest( } private fun createClient(requiresRedirection: Boolean = true): HttpInterface { - return HttpInterfaceImpl(clientGenerator().also { it.config { followRedirects = requiresRedirection } }) + return HttpInterfaceImpl(clientGenerator().apply { config { followRedirects = requiresRedirection } }) } /**