From 19caba002646bcc0f81be4b1f5681d731fb0aff6 Mon Sep 17 00:00:00 2001 From: iSmartCoding Date: Wed, 17 Jan 2024 18:03:56 +0800 Subject: [PATCH] Fix upload download speed. --- app/build.gradle.kts | 4 ++-- app/src/main/java/com/ismartcoding/plain/web/HttpModule.kt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 8bb59bc0..71754706 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -37,9 +37,9 @@ android { else -> 0 } - val vCode = 223 + val vCode = 226 versionCode = vCode - singleAbiNum - versionName = "1.2.30" + versionName = "1.2.31" ndk { //noinspection ChromeOsAbiSupport diff --git a/app/src/main/java/com/ismartcoding/plain/web/HttpModule.kt b/app/src/main/java/com/ismartcoding/plain/web/HttpModule.kt index 709dcf9b..b2fd1a74 100644 --- a/app/src/main/java/com/ismartcoding/plain/web/HttpModule.kt +++ b/app/src/main/java/com/ismartcoding/plain/web/HttpModule.kt @@ -142,7 +142,7 @@ object HttpModule { install(ConditionalHeaders) install(WebSockets) - install(Compression) +// install(Compression) // this will slow down the download speed install(ForwardedHeaders) install(PartialContent) install(AutoHeadResponse)