From 1fcdcb7fdaa1cbf1ba11aa8c8a6711e58658b7de Mon Sep 17 00:00:00 2001 From: nyne Date: Thu, 7 Nov 2024 09:46:21 +0800 Subject: [PATCH] fix link --- ehentai.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ehentai.js b/ehentai.js index dd0e94d..3dad5ba 100644 --- a/ehentai.js +++ b/ehentai.js @@ -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 }