From 7c46239179d660fe64c039f2800361db2b67acb4 Mon Sep 17 00:00:00 2001 From: real-zephex Date: Sat, 27 Apr 2024 00:06:25 +0530 Subject: edge runtime didn't worked --- src/app/kdrama/[id]/page.jsx | 2 -- src/app/kdrama/components/popular.jsx | 2 -- src/app/kdrama/components/recent.jsx | 2 -- 3 files changed, 6 deletions(-) (limited to 'src') diff --git a/src/app/kdrama/[id]/page.jsx b/src/app/kdrama/[id]/page.jsx index f6926c2..69a42c2 100644 --- a/src/app/kdrama/[id]/page.jsx +++ b/src/app/kdrama/[id]/page.jsx @@ -3,8 +3,6 @@ import Image from "next/image"; import EpisodesButtons from "./buttons"; import { PreFetchVideoLinks } from "../components/cacher"; -export const runtime = "edge"; - export default async function DramaInfo({ params }) { const id = decodeURIComponent(params.id); const info = await getDramaInfo(id); diff --git a/src/app/kdrama/components/popular.jsx b/src/app/kdrama/components/popular.jsx index 02d3594..335b45a 100644 --- a/src/app/kdrama/components/popular.jsx +++ b/src/app/kdrama/components/popular.jsx @@ -3,8 +3,6 @@ import Image from "next/image"; import Link from "next/link"; import { PreFetchAnimeInfo } from "./cacher"; -export const runtime = "edge"; - export default async function PopularDramas() { const popular = await getPopular(); PreFetchAnimeInfo(popular); diff --git a/src/app/kdrama/components/recent.jsx b/src/app/kdrama/components/recent.jsx index aa94b7c..e4cdb69 100644 --- a/src/app/kdrama/components/recent.jsx +++ b/src/app/kdrama/components/recent.jsx @@ -3,8 +3,6 @@ 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); -- cgit v1.2.3