From 565d68433b0bd19097048dc418073f3acffd95a9 Mon Sep 17 00:00:00 2001 From: Factiven Date: Tue, 9 May 2023 19:27:06 +0700 Subject: Update v3.5.5 --- pages/anime/watch/[...info].js | 7 ++----- pages/dmca.js | 10 ++++++++-- pages/manga/chapter/[chapter].js | 10 +++++----- 3 files changed, 15 insertions(+), 12 deletions(-) (limited to 'pages') diff --git a/pages/anime/watch/[...info].js b/pages/anime/watch/[...info].js index 3a779a5..13b9980 100644 --- a/pages/anime/watch/[...info].js +++ b/pages/anime/watch/[...info].js @@ -3,11 +3,8 @@ import Link from "next/link"; import { closestMatch } from "closest-match"; import Head from "next/head"; import { useEffect, useState } from "react"; -import Modal from "../../../components/modal"; import dynamic from "next/dynamic"; -import { useNotification } from "../../../lib/useNotify"; - import { getServerSession } from "next-auth/next"; import { authOptions } from "../../api/auth/[...nextauth]"; @@ -262,7 +259,7 @@ export default function Info({ sessions, id, aniId, provider }) { const artwork = poster && poster.length > 0 - ? [{ src: poster[0].image, type: "image/jpeg" }] + ? [{ src: poster[0].image, sizes: "512x512", type: "image/jpeg" }] : undefined; mediaSession.metadata = new MediaMetadata({ @@ -460,7 +457,7 @@ export default function Info({ sessions, id, aniId, provider }) {

Up Next

-
+
{data ? ( data.episodes.length > 0 ? ( data.episodes.some( diff --git a/pages/dmca.js b/pages/dmca.js index eeed80c..f306054 100644 --- a/pages/dmca.js +++ b/pages/dmca.js @@ -91,8 +91,14 @@ export default function DMCA() { downloading/uploading of movies. We only post links that are available on the internet. If you believe that any content on our website infringes upon your intellectual property rights and - you hold the copyright for that content, please report it to - factiven@gmail.com and the content will be immediately removed. + you hold the copyright for that content, please report it to{" "} + + contact@moopa.live + {" "} + and the content will be immediately removed.

diff --git a/pages/manga/chapter/[chapter].js b/pages/manga/chapter/[chapter].js index eea14c0..14f04ca 100644 --- a/pages/manga/chapter/[chapter].js +++ b/pages/manga/chapter/[chapter].js @@ -98,7 +98,7 @@ export default function Test({ title, id, aniId, data, provider }) { setData(datas); } else { const dat = data.map((item) => ({ - img: `https://cors.moopa.my.id/?url=${encodeURIComponent( + img: `https://api.consumet.org/utils/image-proxy?url=${encodeURIComponent( item.img )}&referer=${encodeURIComponent(item.headerForImage.Referer)}`, page: item.page, @@ -151,7 +151,7 @@ export default function Test({ title, id, aniId, data, provider }) { setData(datas); } else { const dat = data.map((item) => ({ - img: `https://cors.moopa.my.id/?url=${encodeURIComponent( + img: `https://api.consumet.org/utils/image-proxy?url=${encodeURIComponent( item.img )}&referer=${encodeURIComponent(item.headerForImage.Referer)}`, page: item.page, @@ -234,7 +234,7 @@ export default function Test({ title, id, aniId, data, provider }) { setData(datas); } else { const dat = data.map((item) => ({ - img: `https://cors.moopa.my.id/?url=${encodeURIComponent( + img: `https://api.consumet.org/utils/image-proxy?url=${encodeURIComponent( item.img )}&referer=${encodeURIComponent(item.headerForImage.Referer)}`, page: item.page, @@ -283,7 +283,7 @@ export default function Test({ title, id, aniId, data, provider }) { setData(datas); } else { const dat = data.map((item) => ({ - img: `https://cors.moopa.my.id/?url=${encodeURIComponent( + img: `https://api.consumet.org/utils/image-proxy?url=${encodeURIComponent( item.img )}&referer=${encodeURIComponent(item.headerForImage.Referer)}`, page: item.page, @@ -441,7 +441,7 @@ export async function getServerSideProps(context) { const data = results.data; const dat = data.map((item) => ({ - img: `https://cors.moopa.my.id/?url=${encodeURIComponent( + img: `https://api.consumet.org/utils/image-proxy?url=${encodeURIComponent( item.img )}&referer=${encodeURIComponent(item.headerForImage.Referer)}`, page: item.page, -- cgit v1.2.3