From 302fbc91cb8b0a15bff57bd548bc5f55ead85dad Mon Sep 17 00:00:00 2001 From: Rajarshee Chatterjee Date: Sun, 2 May 2021 19:42:40 +0530 Subject: [PATCH] fix Wuxiaworld searchUrl --- src/en/wuxiaworld/wuxiaworld.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/en/wuxiaworld/wuxiaworld.js b/src/en/wuxiaworld/wuxiaworld.js index f54b897..8f47498 100644 --- a/src/en/wuxiaworld/wuxiaworld.js +++ b/src/en/wuxiaworld/wuxiaworld.js @@ -151,7 +151,7 @@ router.get("/novel/:novelUrl/:chapterUrl", async (req, res) => { router.get("/search/", (req, res) => { let searchTerm = req.query.s; searchTerm = encodeURI(searchTerm); - const searchUrl = `https://www.wuxiaworld.com/api/novels/search?query=}`; + const searchUrl = `https://www.wuxiaworld.com/api/novels/search?query=`; const url = `${searchUrl}${searchTerm}`;