diff options
| author | zephex-alt <[email protected]> | 2024-04-29 03:55:49 +0000 |
|---|---|---|
| committer | zephex-alt <[email protected]> | 2024-04-29 03:55:49 +0000 |
| commit | 0334cb2a8d79f511b95bd71ed5ee20a38077525c (patch) | |
| tree | fc48ccefdc340aea02d84376d97d5db65de0a2c4 /src/app/anime/search/components | |
| parent | removed edge runtime (diff) | |
| download | dramalama-0334cb2a8d79f511b95bd71ed5ee20a38077525c.tar.xz dramalama-0334cb2a8d79f511b95bd71ed5ee20a38077525c.zip | |
code maintainence
Diffstat (limited to 'src/app/anime/search/components')
| -rw-r--r-- | src/app/anime/search/components/fetchInfo.js | 2 |
1 files changed, 1 insertions, 1 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;
|