This commit is contained in:
2024-11-07 09:46:21 +08:00
parent 4b5311aa17
commit 1fcdcb7fda

View File

@@ -1061,7 +1061,7 @@ class Ehentai extends ComicSource {
let reg = RegExp("https?://(e-|ex)hentai.org/g/(\\d+)/(\\w+)/")
let match = reg.exec(url)
if(match) {
return `https://e-hentai.org/g/${match[2]}/${match[3]}/`
return `https://${this.baseUrl}/g/${match[2]}/${match[3]}/`
}
return null
}