x1ongzhu пре 1 година
родитељ
комит
06ae790fb8
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/src/main/java/com/example/modifier/ui/utils/UtilsFragment.kt

+ 1 - 1
app/src/main/java/com/example/modifier/ui/utils/UtilsFragment.kt

@@ -337,7 +337,7 @@ class UtilsFragment : Fragment() {
             try {
             try {
                 val file = File.createTempFile("files", ".apk")
                 val file = File.createTempFile("files", ".apk")
 
 
-                KtorClient.prepareGet("https://nebuai.oss-cn-hangzhou.aliyuncs.com/application/20240701/bgpj4axa.apk")
+                KtorClient.prepareGet(url)
                     .execute { httpResponse ->
                     .execute { httpResponse ->
                         val channel: ByteReadChannel = httpResponse.body()
                         val channel: ByteReadChannel = httpResponse.body()
                         while (!channel.isClosedForRead) {
                         while (!channel.isClosedForRead) {