aboutsummaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
Diffstat (limited to 'pages')
-rw-r--r--pages/anime/watch/[...info].js7
-rw-r--r--pages/dmca.js10
-rw-r--r--pages/manga/chapter/[chapter].js10
3 files changed, 15 insertions, 12 deletions
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 }) {
<h1 className="text-xl font-karla pl-4 pb-5 font-semibold">
Up Next
</h1>
- <div className="grid gap-5 lg:px-5 px-2 py-2 scrollbar-thin scrollbar-thumb-[#313131] scrollbar-thumb-rounded-full">
+ <div className="flex flex-col gap-5 lg:pl-5 px-2 py-2 scrollbar-thin scrollbar-thumb-[#313131] scrollbar-thumb-rounded-full">
{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
- [email protected] and the content will be immediately removed.
+ you hold the copyright for that content, please report it to{" "}
+ <a
+ href="mailto:[email protected]?subject=[Moopa]%20-%20Your%20Subject"
+ className="font-semibold"
+ >
+ </a>{" "}
+ and the content will be immediately removed.
</p>
</div>
</div>
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,