aboutsummaryrefslogtreecommitdiff
path: root/src/app/manga
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/manga')
-rw-r--r--src/app/manga/[title]/[id]/page.jsx2
-rw-r--r--src/app/manga/[title]/page.jsx2
-rw-r--r--src/app/manga/page.jsx2
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 />