aboutsummaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorFactiven <[email protected]>2023-11-08 13:13:45 +0700
committerGitHub <[email protected]>2023-11-08 13:13:45 +0700
commitef78bbd81bd9f654b0ad6c552e775ce421f9eb90 (patch)
tree0c78845372b441c68373a331a48125a58bd0b752 /pages
parentUpdate v4.2.5 (diff)
downloadmoopa-ef78bbd81bd9f654b0ad6c552e775ce421f9eb90.tar.xz
moopa-ef78bbd81bd9f654b0ad6c552e775ce421f9eb90.zip
Update [id].js
Diffstat (limited to 'pages')
-rw-r--r--pages/api/v2/episode/[id].js2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/api/v2/episode/[id].js b/pages/api/v2/episode/[id].js
index 0ca2a8b..b601f62 100644
--- a/pages/api/v2/episode/[id].js
+++ b/pages/api/v2/episode/[id].js
@@ -48,7 +48,7 @@ async function fetchConsumet(id) {
try {
async function fetchData(dub) {
const { data } = await axios.get(
- `https://api.consumet.org/meta/anilist/info/${id}${dub ? "?dub=true" : ""}`
+ `${CONSUMET_URI}/meta/anilist/info/${id}${dub ? "?dub=true" : ""}`
);
if (data?.message === "Anime not found" && data?.length < 1) {
return [];