diff options
Diffstat (limited to 'src/app/anime/top-airing')
| -rw-r--r-- | src/app/anime/top-airing/page.jsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/app/anime/top-airing/page.jsx b/src/app/anime/top-airing/page.jsx index e385629..2c4fb88 100644 --- a/src/app/anime/top-airing/page.jsx +++ b/src/app/anime/top-airing/page.jsx @@ -1,10 +1,11 @@ import styles from "./trending.module.css"; import Image from "next/image"; import Link from "next/link"; +import { preFetchAnimeInfo } from "../videoLinkfetcher"; export default async function Trending() { const data = await test(); - + preFetchAnimeInfo(data); return ( <div className={styles.TrendingContainer}> <div className={styles.TrendingText}> @@ -21,7 +22,7 @@ export default async function Trending() { > <div className={styles.trendingEntries}> <Image - src={item.image} + src={`https://sup-proxy.zephex0-f6c.workers.dev/api-content?url=${item.image}`} className={styles.trendingImage} width={150} height={230} |