diff options
| author | real-zephex <[email protected]> | 2024-03-21 13:39:03 +0530 |
|---|---|---|
| committer | real-zephex <[email protected]> | 2024-03-21 13:39:03 +0530 |
| commit | 6f4cc846e1e07d70c43de8936a8b6410a5ed040d (patch) | |
| tree | da9465b9709608e8beeef351423ba162a866f065 /src | |
| parent | fixes: minor performance improvements (diff) | |
| download | dramalama-6f4cc846e1e07d70c43de8936a8b6410a5ed040d.tar.xz dramalama-6f4cc846e1e07d70c43de8936a8b6410a5ed040d.zip | |
fix: cloudflare fix
Diffstat (limited to 'src')
| -rw-r--r-- | src/app/info/[id]/page.jsx | 2 | ||||
| -rw-r--r-- | src/app/video/[animeId]/page.jsx | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/app/info/[id]/page.jsx b/src/app/info/[id]/page.jsx index 5048612..fc56c5f 100644 --- a/src/app/info/[id]/page.jsx +++ b/src/app/info/[id]/page.jsx @@ -2,6 +2,8 @@ import "../info.css"; import Image from "next/image"; import Link from "next/link"; +export const runtime = "edge"; + export default async function AnimeInfo({ params }) { let animeID = params.id; diff --git a/src/app/video/[animeId]/page.jsx b/src/app/video/[animeId]/page.jsx index 02f6197..d475d72 100644 --- a/src/app/video/[animeId]/page.jsx +++ b/src/app/video/[animeId]/page.jsx @@ -8,6 +8,8 @@ import { import "../video.css"; import { redirect } from "next/navigation"; +export const runtime = 'edge'; + export default async function Video({ params }) { const id = params.animeId; |