diff options
| author | real-zephex <[email protected]> | 2024-04-26 23:57:32 +0530 |
|---|---|---|
| committer | real-zephex <[email protected]> | 2024-04-26 23:57:32 +0530 |
| commit | 4c74f9e66c6765f771f816ae64adaa2da66ed013 (patch) | |
| tree | 653122ca698b5a2e99e6d8839c5bd2c976d652b2 /src/app/anime | |
| parent | minor ui fix (diff) | |
| download | dramalama-4c74f9e66c6765f771f816ae64adaa2da66ed013.tar.xz dramalama-4c74f9e66c6765f771f816ae64adaa2da66ed013.zip | |
trying to implement edge runtime
Diffstat (limited to 'src/app/anime')
| -rw-r--r-- | src/app/anime/[id]/page.jsx | 2 | ||||
| -rw-r--r-- | src/app/anime/recent/page.jsx | 2 | ||||
| -rw-r--r-- | src/app/anime/top-airing/page.jsx | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/src/app/anime/[id]/page.jsx b/src/app/anime/[id]/page.jsx index bb7640f..664d638 100644 --- a/src/app/anime/[id]/page.jsx +++ b/src/app/anime/[id]/page.jsx @@ -3,6 +3,8 @@ import Image from "next/image"; import Button from "./buttons";
import { preFetchAnimeLinks } from "../videoLinkfetcher";
+export const runtime = "edge";
+
export default async function AnimeInfo({ params }) {
let animeID = params.id;
diff --git a/src/app/anime/recent/page.jsx b/src/app/anime/recent/page.jsx index 25b0182..69f2a81 100644 --- a/src/app/anime/recent/page.jsx +++ b/src/app/anime/recent/page.jsx @@ -3,6 +3,8 @@ import Link from "next/link"; import styles from "./recent.module.css";
import { preFetchAnimeInfo } from "../videoLinkfetcher";
+export const runtime = "edge";
+
export default async function Releases() {
const data = await fetchRecentEpisodes();
preFetchAnimeInfo(data);
diff --git a/src/app/anime/top-airing/page.jsx b/src/app/anime/top-airing/page.jsx index e406860..2f6232f 100644 --- a/src/app/anime/top-airing/page.jsx +++ b/src/app/anime/top-airing/page.jsx @@ -3,6 +3,8 @@ import Image from "next/image"; import Link from "next/link";
import { preFetchAnimeInfo } from "../videoLinkfetcher";
+export const runtime = "edge";
+
export default async function Trending() {
const data = await test();
preFetchAnimeInfo(data);
|