mirror of https://github.com/NekoX-Dev/NekoX.git
Fix CDNDrive
This commit is contained in:
parent
087154ed02
commit
a932196248
|
@ -59,6 +59,7 @@ object MiniCDNDrive {
|
||||||
.build()
|
.build()
|
||||||
val response2 = client.newCall(request2).execute()
|
val response2 = client.newCall(request2).execute()
|
||||||
data2 = readPhotoBytes(response2.body!!.bytes())
|
data2 = readPhotoBytes(response2.body!!.bytes())
|
||||||
|
break
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
if (i == try_max - 1) {
|
if (i == try_max - 1) {
|
||||||
throw e
|
throw e
|
||||||
|
|
Loading…
Reference in New Issue