diff options
| author | real-zephex <[email protected]> | 2024-04-29 10:06:01 +0530 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-04-29 10:06:01 +0530 |
| commit | fdc6b602228d923b0c255521ee74289e7a0d94a2 (patch) | |
| tree | 3531fc9fd2fbe178d43e6a1c67d116f30fd4a61e /src/app/manga | |
| parent | Update README.md (diff) | |
| parent | adjusted the width and height of the image just by a little (diff) | |
| download | dramalama-fdc6b602228d923b0c255521ee74289e7a0d94a2.tar.xz dramalama-fdc6b602228d923b0c255521ee74289e7a0d94a2.zip | |
Merge pull request #5 from zephex-alt/master
changes
Diffstat (limited to 'src/app/manga')
| -rw-r--r-- | src/app/manga/[title]/[id]/page.jsx | 2 | ||||
| -rw-r--r-- | src/app/manga/[title]/page.jsx | 2 | ||||
| -rw-r--r-- | src/app/manga/page.jsx | 2 |
3 files changed, 2 insertions, 4 deletions
diff --git a/src/app/manga/[title]/[id]/page.jsx b/src/app/manga/[title]/[id]/page.jsx index ffd962d..5aa807d 100644 --- a/src/app/manga/[title]/[id]/page.jsx +++ b/src/app/manga/[title]/[id]/page.jsx @@ -129,7 +129,7 @@ export default async function MangaInfo({ params }) { async function getMangaInfo(id) {
const res = await fetch(
`https://consumet-jade.vercel.app/meta/anilist-manga/info/${id}?provider=mangadex`,
- { next: { revalidate: 86400 } }
+ { next: { revalidate: 21600 } }
);
const data = await res.json();
return data;
diff --git a/src/app/manga/[title]/page.jsx b/src/app/manga/[title]/page.jsx index 4446d05..05dbcbf 100644 --- a/src/app/manga/[title]/page.jsx +++ b/src/app/manga/[title]/page.jsx @@ -3,8 +3,6 @@ import Image from "next/image"; import Link from "next/link";
import { PreFetchMangaInfo } from "../cacher";
-// This page displays all the available mangas or manhwas when the user searches for one/
-
export default async function MangaInfo({ params }) {
const title = params.title;
const data = await GetSearchedAnime(title);
diff --git a/src/app/manga/page.jsx b/src/app/manga/page.jsx index 2b3572a..ff1731d 100644 --- a/src/app/manga/page.jsx +++ b/src/app/manga/page.jsx @@ -10,7 +10,7 @@ export default async function Manga() { width={480}
height={200}
className={styles.MangaImage}
- alt="Manga SVG"
+ alt="Manga Intro Image"
priority
/>
<SearchBar />
|