diff options
Diffstat (limited to 'src/app/anime/search')
| -rw-r--r-- | src/app/anime/search/components/fetchInfo.js | 2 | ||||
| -rw-r--r-- | src/app/anime/search/page.jsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/app/anime/search/components/fetchInfo.js b/src/app/anime/search/components/fetchInfo.js index f14ea5e..2f81345 100644 --- a/src/app/anime/search/components/fetchInfo.js +++ b/src/app/anime/search/components/fetchInfo.js @@ -7,7 +7,7 @@ export default async function Results(id) { async function testFunction(title) {
const res = await fetch(
"https://consumet-jade.vercel.app/anime/gogoanime/" + title,
- { cache: "force-cache" }
+ { next: { revalidate: 21600 } }
);
const data = await res.json();
return data;
diff --git a/src/app/anime/search/page.jsx b/src/app/anime/search/page.jsx index 0555a36..bf399cf 100644 --- a/src/app/anime/search/page.jsx +++ b/src/app/anime/search/page.jsx @@ -33,7 +33,7 @@ export default function Input() { };
return (
- <div>
+ <div style={{marginBottom: -15}}>
<div className={styles.inputContainer}>
<div className={styles.searchContainer}>
<FaSearch className={styles.searchIcon} />
|