From 5b36cf9627be094c483d3d33ddc59ebbe3a0a8cf Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Thu, 22 Jul 2021 21:30:08 +0100 Subject: [PATCH] change health check url --- src/views/Search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Search.js b/src/views/Search.js index 189bb5ab..306bf4c2 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://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.`)