mirror of
https://github.com/movie-web/movie-web.git
synced 2025-01-20 06:51:35 +01:00
Resolve issues
This commit is contained in:
parent
001183ca81
commit
c87abb2c32
@ -1,19 +1,19 @@
|
|||||||
window.__CONFIG__ = {
|
window.__CONFIG__ = {
|
||||||
// The URL for the CORS proxy, the URL must NOT end with a slash!
|
// The URL for the CORS proxy, the URL must NOT end with a slash!
|
||||||
// If not specified, the onboarding will not allow a "default setup". The user will have to use the extension or set up a proxy themselves
|
// If not specified, the onboarding will not allow a "default setup". The user will have to use the extension or set up a proxy themselves
|
||||||
VITE_CORS_PROXY_URL: "",
|
VITE_CORS_PROXY_URL: "https://sudo-proxy.up.railway.app",
|
||||||
|
|
||||||
// The READ API key to access TMDB
|
// The READ API key to access TMDB
|
||||||
VITE_TMDB_READ_API_KEY: "",
|
VITE_TMDB_READ_API_KEY: "eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOiJhZTljNGE2ZDE1ZDFiODZiNzdlMWQyYmI5ZGY0MzdmYyIsInN1YiI6IjY1YjNmMWI0NTk0Yzk0MDE2MzNkZDBjNSIsInNjb3BlcyI6WyJhcGlfcmVhZCJdLCJ2ZXJzaW9uIjoxfQ.kAX7TkbKuJkNty6IsjcCLnoENFicVZn6d6DkLQsy3p8",
|
||||||
|
|
||||||
// The DMCA email displayed in the footer, null to hide the DMCA link
|
// The DMCA email displayed in the footer, null to hide the DMCA link
|
||||||
VITE_DMCA_EMAIL: null,
|
VITE_DMCA_EMAIL: "dev@sudo-flix.lol",
|
||||||
|
|
||||||
// Whether to disable hash-based routing, leave this as false if you don't know what this is
|
// Whether to disable hash-based routing, leave this as false if you don't know what this is
|
||||||
VITE_NORMAL_ROUTER: false,
|
VITE_NORMAL_ROUTER: true,
|
||||||
|
|
||||||
// The backend URL to communicate with
|
// The backend URL to communicate with
|
||||||
VITE_BACKEND_URL: null,
|
VITE_BACKEND_URL: "backend.sudo-flix.lol",
|
||||||
|
|
||||||
// A comma separated list of disallowed IDs in the case of a DMCA claim - in the format "series-<id>" and "movie-<id>"
|
// A comma separated list of disallowed IDs in the case of a DMCA claim - in the format "series-<id>" and "movie-<id>"
|
||||||
VITE_DISALLOWED_IDS: "",
|
VITE_DISALLOWED_IDS: "",
|
||||||
|
@ -29,8 +29,6 @@ export function ScrapeErrorPart(props: ScrapeErrorPartProps) {
|
|||||||
const location = useLocation();
|
const location = useLocation();
|
||||||
const [extensionState, setExtensionState] =
|
const [extensionState, setExtensionState] =
|
||||||
useState<ExtensionStatus>("unknown");
|
useState<ExtensionStatus>("unknown");
|
||||||
const [title, setTitle] = useState(t("player.scraping.notFound.title"));
|
|
||||||
const [icon, setIcon] = useState(Icons.WAND);
|
|
||||||
|
|
||||||
const error = useMemo(() => {
|
const error = useMemo(() => {
|
||||||
const data = props.data;
|
const data = props.data;
|
||||||
@ -58,8 +56,10 @@ export function ScrapeErrorPart(props: ScrapeErrorPartProps) {
|
|||||||
return (
|
return (
|
||||||
<ErrorLayout>
|
<ErrorLayout>
|
||||||
<ErrorContainer>
|
<ErrorContainer>
|
||||||
<IconPill icon={Icons.LOCK}>{t("player.scraping.notFound.badge")}</IconPill>
|
<IconPill icon={Icons.LOCK}>
|
||||||
<Title>t("player.scraping.extensionFailure.disabledTitle")</Title>
|
{t("player.scraping.notFound.badge")}
|
||||||
|
</IconPill>
|
||||||
|
<Title>{t("player.scraping.extensionFailure.disabledTitle")}</Title>
|
||||||
<Paragraph>
|
<Paragraph>
|
||||||
<Trans
|
<Trans
|
||||||
i18nKey="player.scraping.extensionFailure.text"
|
i18nKey="player.scraping.extensionFailure.text"
|
||||||
@ -101,7 +101,9 @@ export function ScrapeErrorPart(props: ScrapeErrorPartProps) {
|
|||||||
return (
|
return (
|
||||||
<ErrorLayout>
|
<ErrorLayout>
|
||||||
<ErrorContainer>
|
<ErrorContainer>
|
||||||
<IconPill icon={Icons.WAND}>{t("player.scraping.notFound.badge")}</IconPill>
|
<IconPill icon={Icons.WAND}>
|
||||||
|
{t("player.scraping.notFound.badge")}
|
||||||
|
</IconPill>
|
||||||
<Title>{t("player.scraping.notFound.title")}</Title>
|
<Title>{t("player.scraping.notFound.title")}</Title>
|
||||||
<Paragraph>{t("player.scraping.notFound.text")}</Paragraph>
|
<Paragraph>{t("player.scraping.notFound.text")}</Paragraph>
|
||||||
<div className="flex gap-3">
|
<div className="flex gap-3">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user