diff --git a/index.json b/index.json index cb4146c..f167f7a 100644 --- a/index.json +++ b/index.json @@ -46,7 +46,7 @@ "name": "禁漫天堂", "fileName": "jm.js", "key": "jm", - "version": "1.2.0", + "version": "1.2.1", "description": "禁漫天堂漫畫源, 不能使用時請嘗試切換分流" }, { diff --git a/jm.js b/jm.js index 85db3ab..6ee75de 100644 --- a/jm.js +++ b/jm.js @@ -7,7 +7,7 @@ class JM extends ComicSource { // unique id of the source key = "jm" - version = "1.2.0" + version = "1.2.1" minAppVersion = "1.2.5" @@ -767,7 +767,8 @@ class JM extends ComicSource { } return { headers: this.getImgHeaders(), - modifyImage: ` + // gif 图片不需要修改 + modifyImage: url.endsWith(".gif") ? null : ` let modifyImage = (image) => { const num = ${num} let blockSize = Math.floor(image.height / num)