From 8ab49ed2804a8588d92f267b79a11e6b4c6cc2db Mon Sep 17 00:00:00 2001 From: Rojikku Date: Fri, 6 Feb 2026 20:10:26 -0500 Subject: [PATCH] fix: Double slashes --- plugins/multisrc/madara/template.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/multisrc/madara/template.ts b/plugins/multisrc/madara/template.ts index bc97c2f44..13f6172f7 100644 --- a/plugins/multisrc/madara/template.ts +++ b/plugins/multisrc/madara/template.ts @@ -149,7 +149,7 @@ class MadaraPlugin implements Plugin.PluginBase { const novel: Plugin.NovelItem = { name: novelName, cover: novelCover, - path: novelUrl.replace(/https?:\/\/.*?\//, '/'), + path: novelUrl.replace(/https?:\/\/.*?\//, ''), }; novels.push(novel); }, @@ -347,7 +347,7 @@ class MadaraPlugin implements Plugin.PluginBase { if (chapterUrl && chapterUrl != '#' && !(locked && this.hideLocked)) { chapters.push({ name: chapterName, - path: chapterUrl.replace(/https?:\/\/.*?\//, '/'), + path: chapterUrl.replace(/https?:\/\/.*?\//, ''), releaseTime: releaseDate || null, chapterNumber: totalChapters - chapterIndex, });