diff options
Diffstat (limited to 'src/app/kdrama/components/recent.jsx')
| -rw-r--r-- | src/app/kdrama/components/recent.jsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/app/kdrama/components/recent.jsx b/src/app/kdrama/components/recent.jsx index eec4354..aa94b7c 100644 --- a/src/app/kdrama/components/recent.jsx +++ b/src/app/kdrama/components/recent.jsx @@ -3,6 +3,8 @@ import Image from "next/image"; import Link from "next/link";
import { PreFetchAnimeInfo } from "./cacher";
+export const runtime = 'edge';
+
export default async function RecentDramas() {
const popular = await getPopular();
PreFetchAnimeInfo(popular);
@@ -36,7 +38,7 @@ export default async function RecentDramas() { async function getPopular() {
const res = await fetch("https://dramacool-scraper.vercel.app/recent", {
- next: { revalidate: 86400 },
+ next: { revalidate: 21600 },
});
const data = await res.json();
return data;
|