diff options
Diffstat (limited to 'src/app/search/api/fetchInfo.js')
| -rw-r--r-- | src/app/search/api/fetchInfo.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/app/search/api/fetchInfo.js b/src/app/search/api/fetchInfo.js deleted file mode 100644 index 6ac0e69..0000000 --- a/src/app/search/api/fetchInfo.js +++ /dev/null @@ -1,9 +0,0 @@ -"use server"; - -export default async function testFunction(title) { - const res = await fetch( - "https://dramalama-api.vercel.app/anime/gogoanime/" + title - ); - const data = await res.json(); - return data; -} |