Commit d8289662 authored by Duhoux Pierre-Louis's avatar Duhoux Pierre-Louis

Fix MangaDex images for some mirrors

parent fb5d7335
Pipeline #29803609 passed with stages
in 1 minute and 42 seconds
......@@ -77,7 +77,7 @@ if (typeof registerMangaObject === 'function') {
let chid = curUrl.split("/")[4];
let chapter = await amr.loadJson(this.api + "chapter/" + chid)
if (chapter.server.indexOf("/") === 0) {
chapter.server = "https://mangadex.org/" + chapter.server
chapter.server = "https://mangadex.org" + chapter.server
}
return chapter.page_array.map(img => chapter.server + chapter.hash + "/" + img)
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment