change health check url

This commit is contained in:
James Hawkins 2021-07-22 21:30:08 +01:00
parent ffabfa4866
commit 5b36cf9627
1 changed files with 1 additions and 1 deletions

View File

@ -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.`)