mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-20 14:37:43 +01:00
change health check url
This commit is contained in:
parent
ffabfa4866
commit
5b36cf9627
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ export function SearchView() {
|
||||||
|
|
||||||
React.useEffect(() => {
|
React.useEffect(() => {
|
||||||
async function fetchHealth() {
|
async function fetchHealth() {
|
||||||
const HOME_URL = "https://movie-web-proxy.herokuapp.com/https://lookmovie.io/"
|
const HOME_URL = "https://movie-web-proxy.herokuapp.com"
|
||||||
await fetch(HOME_URL).catch(() => {
|
await fetch(HOME_URL).catch(() => {
|
||||||
// Request failed; source likely offline
|
// Request failed; source likely offline
|
||||||
setOfflineStatus(`Our content provider is currently offline, apologies.`)
|
setOfflineStatus(`Our content provider is currently offline, apologies.`)
|
||||||
|
|
Loading…
Reference in a new issue