Add sourceName

This commit is contained in:
Rajarshee Chatterjee
2021-01-01 18:33:20 +05:30
parent 86fd8e62b9
commit 3b869ad174
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -60,6 +60,8 @@ router.get("/novel/:novelUrl", (req, res) => {
novel.extensionId = 1;
novel.sourceName = "BoxNovel";
novel.sourceUrl = url;
novel.novelUrl = `${novelUrl}/`;
+2
View File
@@ -57,6 +57,8 @@ router.get("/novel/:novelUrl", (req, res) => {
novel.extensionId = 2;
novel.sourceName = "ReadLightNovel";
novel.sourceUrl = url;
novel.novelUrl = `${novelUrl}/`;