aboutsummaryrefslogtreecommitdiff
path: root/src/app/manga
diff options
context:
space:
mode:
authorreal-zephex <[email protected]>2024-04-07 12:53:56 +0000
committerGitHub <[email protected]>2024-04-07 12:53:56 +0000
commit6c4f28aa4166fae78a450b3fc46b5f3f4be9fd92 (patch)
tree9ddac3f4b350d34c34cd2679c6c5c9bfb8ae4ca3 /src/app/manga
parentMerge pull request #3 from real-zephex/kdrama-section-rewrite (diff)
downloaddramalama-6c4f28aa4166fae78a450b3fc46b5f3f4be9fd92.tar.xz
dramalama-6c4f28aa4166fae78a450b3fc46b5f3f4be9fd92.zip
cloudflare fix
Diffstat (limited to 'src/app/manga')
-rw-r--r--src/app/manga/[title]/[id]/[read]/page.jsx2
-rw-r--r--src/app/manga/[title]/[id]/page.jsx2
-rw-r--r--src/app/manga/[title]/page.jsx2
3 files changed, 6 insertions, 0 deletions
diff --git a/src/app/manga/[title]/[id]/[read]/page.jsx b/src/app/manga/[title]/[id]/[read]/page.jsx
index eaaa94c..ce433e2 100644
--- a/src/app/manga/[title]/[id]/[read]/page.jsx
+++ b/src/app/manga/[title]/[id]/[read]/page.jsx
@@ -3,6 +3,8 @@ import Image from "next/image";
import DownloadManga from "./download";
import CurrentReading from "./currentReading";
+export const runtime = "edge";
+
export default async function Read({ params }) {
const chapterId = params.read;
const data = await getPages(chapterId);
diff --git a/src/app/manga/[title]/[id]/page.jsx b/src/app/manga/[title]/[id]/page.jsx
index 1e4a26f..2d50252 100644
--- a/src/app/manga/[title]/[id]/page.jsx
+++ b/src/app/manga/[title]/[id]/page.jsx
@@ -5,6 +5,8 @@ import { redirect } from "next/navigation";
import { FaStar } from "react-icons/fa";
import CurrentReading from "./[read]/currentReading";
+export const runtime = 'edge';
+
export default async function MangaInfo({ params }) {
const id = params.id;
const data = await getMangaInfo(id);
diff --git a/src/app/manga/[title]/page.jsx b/src/app/manga/[title]/page.jsx
index 7788a59..e586d09 100644
--- a/src/app/manga/[title]/page.jsx
+++ b/src/app/manga/[title]/page.jsx
@@ -2,6 +2,8 @@ import styles from "./title.module.css";
import Image from "next/image";
import Link from "next/link";
+export const runtime = 'edge';
+
export default async function MangaInfo({ params }) {
const title = params.title;
const data = await GetSearchedAnime(title);