diff --git a/app/src/main/java/io/legado/app/ui/book/read/page/provider/ImageProvider.kt b/app/src/main/java/io/legado/app/ui/book/read/page/provider/ImageProvider.kt index 114c9dd7c..9bc9bda12 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/page/provider/ImageProvider.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/page/provider/ImageProvider.kt @@ -49,7 +49,7 @@ object ImageProvider { out.close() } } else if (!onUi) { - HttpHelper.getBytes(src, src)?.let { + HttpHelper.getBytes(src, baseUrl)?.let { FileUtils.createFileIfNotExist(vFile.absolutePath).writeBytes(it) } } @@ -87,4 +87,4 @@ object ImageProvider { } } -} \ No newline at end of file +}