aboutsummaryrefslogtreecommitdiff
path: root/src/app/anime/search/components/fetchInfo.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/anime/search/components/fetchInfo.js')
-rw-r--r--src/app/anime/search/components/fetchInfo.js2
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;