diff options
| author | zephex-alt <[email protected]> | 2024-04-29 06:55:38 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-04-29 06:55:38 +0000 |
| commit | 9ce706dfd306471371cf4df148c474e6319b862f (patch) | |
| tree | b0b21a61b39e71fcaf1d3cdb88f5bd7a8e77b666 /src | |
| parent | adjusted the width and height of the image just by a little (diff) | |
| download | dramalama-9ce706dfd306471371cf4df148c474e6319b862f.tar.xz dramalama-9ce706dfd306471371cf4df148c474e6319b862f.zip | |
downloading mangas is not longer available. i need a proper hosting to properly implement that feature
Diffstat (limited to 'src')
| -rw-r--r-- | src/app/manga/[title]/[id]/[read]/page.jsx | 3 |
1 files changed, 0 insertions, 3 deletions
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 (
<div className={styles.Main}>
<div className={styles.ImageContainer}>
- <DownloadManga chapterId={chapterId} />
<p>Total pages: {images.length}</p>
{images &&
images.map((item, index) => (
|