diff --git a/index.html b/index.html index 1d1c3577..4555b17a 100644 --- a/index.html +++ b/index.html @@ -162,4 +162,4 @@ - \ No newline at end of file + diff --git a/public/config.js b/public/config.js index feb65e84..b19ec99c 100644 --- a/public/config.js +++ b/public/config.js @@ -1,19 +1,19 @@ window.__CONFIG__ = { // 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 - VITE_CORS_PROXY_URL: "", + VITE_CORS_PROXY_URL: "https://sudo-proxy.up.railway.app", // 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 - 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 - VITE_NORMAL_ROUTER: false, + VITE_NORMAL_ROUTER: true, // 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-" and "movie-" VITE_DISALLOWED_IDS: "", diff --git a/src/pages/parts/player/ScrapeErrorPart.tsx b/src/pages/parts/player/ScrapeErrorPart.tsx index b05a2839..53e59dea 100644 --- a/src/pages/parts/player/ScrapeErrorPart.tsx +++ b/src/pages/parts/player/ScrapeErrorPart.tsx @@ -29,8 +29,6 @@ export function ScrapeErrorPart(props: ScrapeErrorPartProps) { const location = useLocation(); const [extensionState, setExtensionState] = useState("unknown"); - const [title, setTitle] = useState(t("player.scraping.notFound.title")); - const [icon, setIcon] = useState(Icons.WAND); const error = useMemo(() => { const data = props.data; @@ -58,8 +56,10 @@ export function ScrapeErrorPart(props: ScrapeErrorPartProps) { return ( - {t("player.scraping.notFound.badge")} - t("player.scraping.extensionFailure.disabledTitle") + + {t("player.scraping.notFound.badge")} + + {t("player.scraping.extensionFailure.disabledTitle")} - {t("player.scraping.notFound.badge")} + + {t("player.scraping.notFound.badge")} + {t("player.scraping.notFound.title")} {t("player.scraping.notFound.text")}