mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-29 15:26:08 +00:00
change health check url
This commit is contained in:
parent
ffabfa4866
commit
5b36cf9627
|
@ -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.`)
|
||||
|
|
Loading…
Reference in a new issue