diff options
| author | real-zephex <[email protected]> | 2024-04-11 02:45:11 +0530 |
|---|---|---|
| committer | real-zephex <[email protected]> | 2024-04-11 02:45:11 +0530 |
| commit | 6efd15397fd8ed5d3520494e2450a9b15b1cf42f (patch) | |
| tree | df63a9b5f7d11635068c94c6f01b059a1fa3e8ee /src/app/anime/search/components/fetchInfo.js | |
| parent | tried to fix auto resizing of the video player on quality change. (diff) | |
| download | dramalama-6efd15397fd8ed5d3520494e2450a9b15b1cf42f.tar.xz dramalama-6efd15397fd8ed5d3520494e2450a9b15b1cf42f.zip | |
tried to leverage caching of next js: trending and recent animes info are now cached along with all the animes when you search for one
Diffstat (limited to 'src/app/anime/search/components/fetchInfo.js')
| -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 07b203d..a458607 100644 --- a/src/app/anime/search/components/fetchInfo.js +++ b/src/app/anime/search/components/fetchInfo.js @@ -6,7 +6,7 @@ export default async function Results(id) { async function testFunction(title) { const res = await fetch( - "https://consumet-api-di2e.onrender.com/anime/gogoanime/" + title, + "https://consumet-jade.vercel.app/anime/gogoanime/" + title, { cache: "force-cache" } ); const data = await res.json(); |