From 9ce706dfd306471371cf4df148c474e6319b862f Mon Sep 17 00:00:00 2001 From: zephex-alt <166333351+zephex-alt@users.noreply.github.com> Date: Mon, 29 Apr 2024 06:55:38 +0000 Subject: downloading mangas is not longer available. i need a proper hosting to properly implement that feature --- src/app/manga/[title]/[id]/[read]/page.jsx | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') diff --git a/src/app/manga/[title]/[id]/[read]/page.jsx b/src/app/manga/[title]/[id]/[read]/page.jsx index 01080bf..a2b2555 100644 --- a/src/app/manga/[title]/[id]/[read]/page.jsx +++ b/src/app/manga/[title]/[id]/[read]/page.jsx @@ -1,6 +1,5 @@ import styles from "./read.module.css"; import Image from "next/image"; -import DownloadManga from "./download"; export default async function Read({ params }) { const chapterId = params.read; @@ -20,14 +19,12 @@ export default async function Read({ params }) { let images = []; for (var i = 0; i < results.chapter.data.length; i++) { var imgUrl = image_base_url + "/" + results.chapter.data[i]; - // console.log(imgUrl); images.push(imgUrl); } return (
Total pages: {images.length}
{images && images.map((item, index) => ( -- cgit v1.2.3