diff options
| author | real-zephex <[email protected]> | 2024-04-29 10:06:01 +0530 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-04-29 10:06:01 +0530 |
| commit | fdc6b602228d923b0c255521ee74289e7a0d94a2 (patch) | |
| tree | 3531fc9fd2fbe178d43e6a1c67d116f30fd4a61e /src/app/anime/search | |
| parent | Update README.md (diff) | |
| parent | adjusted the width and height of the image just by a little (diff) | |
| download | dramalama-fdc6b602228d923b0c255521ee74289e7a0d94a2.tar.xz dramalama-fdc6b602228d923b0c255521ee74289e7a0d94a2.zip | |
Merge pull request #5 from zephex-alt/master
changes
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} />
|