We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09ed25e commit ecbde5fCopy full SHA for ecbde5f
1 file changed
plugins/multisrc/madara/template.ts
@@ -149,7 +149,7 @@ class MadaraPlugin implements Plugin.PluginBase {
149
const novel: Plugin.NovelItem = {
150
name: novelName,
151
cover: novelCover,
152
- path: novelUrl.replace(/https?:\/\/.*?\//, '/'),
+ path: novelUrl.replace(/https?:\/\/.*?\//, ''),
153
};
154
novels.push(novel);
155
},
@@ -347,7 +347,7 @@ class MadaraPlugin implements Plugin.PluginBase {
347
if (chapterUrl && chapterUrl != '#' && !(locked && this.hideLocked)) {
348
chapters.push({
349
name: chapterName,
350
- path: chapterUrl.replace(/https?:\/\/.*?\//, '/'),
+ path: chapterUrl.replace(/https?:\/\/.*?\//, ''),
351
releaseTime: releaseDate || null,
352
chapterNumber: totalChapters - chapterIndex,
353
});
0 commit comments