diff --git a/app/src/main/java/io/legado/app/service/HttpReadAloudService.kt b/app/src/main/java/io/legado/app/service/HttpReadAloudService.kt index 4fae93cb8..960a866ab 100644 --- a/app/src/main/java/io/legado/app/service/HttpReadAloudService.kt +++ b/app/src/main/java/io/legado/app/service/HttpReadAloudService.kt @@ -114,9 +114,6 @@ class HttpReadAloudService : BaseReadAloudService(), var response = analyzeUrl.getResponse() httpTts.loginCheckJs?.let { checkJs -> if (checkJs.isNotBlank()) { - if (response.headers["Content-Type"] != "audio/mpeg") { - response.body!!.string() - } response = analyzeUrl.evalJS(checkJs, response) as Response } }