From 98d076f4e9024eb4c9cf6a22a8ff933ba85798c5 Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Thu, 22 Jul 2021 15:38:45 +0100 Subject: [PATCH] Custom URL --- src/lib/gomostream.js | 2 +- src/lib/lookMovie.js | 2 +- src/views/Search.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/gomostream.js b/src/lib/gomostream.js index 8e138a4b..5d8ba77b 100644 --- a/src/lib/gomostream.js +++ b/src/lib/gomostream.js @@ -1,6 +1,6 @@ import { unpack } from './util/unpacker'; -const CORS_URL = 'https://safe-reaches-91175.herokuapp.com/'; +const CORS_URL = 'https://movie-web-proxy.herokuapp.com/'; const BASE_URL = `${CORS_URL}https://gomo.to`; const MOVIE_URL = `${BASE_URL}/movie` const DECODING_URL = `${BASE_URL}/decoding_v3.php` diff --git a/src/lib/lookMovie.js b/src/lib/lookMovie.js index 5a76d01d..2ae6a5e6 100644 --- a/src/lib/lookMovie.js +++ b/src/lib/lookMovie.js @@ -2,7 +2,7 @@ import Fuse from 'fuse.js' import JSON5 from 'json5' function getCorsUrl(url) { - return `https://safe-reaches-91175.herokuapp.com/${url}`; + return `https://movie-web-proxy.herokuapp.com/${url}`; } async function getVideoUrl(config) { diff --git a/src/views/Search.js b/src/views/Search.js index 21ae03b8..07765d9e 100644 --- a/src/views/Search.js +++ b/src/views/Search.js @@ -103,7 +103,7 @@ export function SearchView() { React.useEffect(() => { async function fetchHealth() { - const HOME_URL = "https://safe-reaches-91175.herokuapp.com/https://lookmovie.io/" + const HOME_URL = "https://movie-web-proxy.herokuapp.com/https://lookmovie.io/" await fetch(HOME_URL).catch(() => { // Request failed; source likely offline setOfflineStatus(`Our content provider is currently offline, apologies.`)