From 2e44327def64526121b55577c8e27ccc3b469e34 Mon Sep 17 00:00:00 2001 From: nyne Date: Thu, 7 Nov 2024 09:47:10 +0800 Subject: [PATCH] fix link --- ehentai.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ehentai.js b/ehentai.js index 3dad5ba..9001253 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://${this.baseUrl}/g/${match[2]}/${match[3]}/` + return `${this.baseUrl}/g/${match[2]}/${match[3]}/` } return null }