change health check url

This commit is contained in:
James Hawkins 2021-07-22 21:30:08 +01:00
parent ffabfa4866
commit 5b36cf9627

View file

@ -103,7 +103,7 @@ export function SearchView() {
React.useEffect(() => {
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(() => {
// Request failed; source likely offline
setOfflineStatus(`Our content provider is currently offline, apologies.`)