diff --git a/controllers/index.controller.js b/controllers/index.controller.js index 0dba147..a6bc337 100644 --- a/controllers/index.controller.js +++ b/controllers/index.controller.js @@ -113,15 +113,18 @@ const RenderHomePage = async (req, res, next) => { mangass = await mangaParkObj.getMangaList(1); const mangaUpdateList = mangass.LatestManga; - res.render("index", { - title: "Mirai", - navList: navList, - updateList: updateList, - mangaUpdateList: mangaUpdateList, - newAnimeList: newAnimeList, - popularList: popularList, - ongoingList: ongoingList, - }); + setTimeout(function(){ + res.render("index", { + title: "Mirai", + navList: navList, + updateList: updateList, + mangaUpdateList: mangaUpdateList, + newAnimeList: newAnimeList, + popularList: popularList, + ongoingList: ongoingList, + }); + }, + 3000); }; module.exports = RenderHomePage; diff --git a/views/animelist.ejs b/views/animelist.ejs index 1daed9f..aa20b61 100644 --- a/views/animelist.ejs +++ b/views/animelist.ejs @@ -14,7 +14,7 @@
-
+

Found <%= series.length %> categories in total