mirror of
https://github.com/movie-web/movie-web.git
synced 2024-11-11 01:05:08 +01:00
change health check url
This commit is contained in:
parent
ffabfa4866
commit
5b36cf9627
@ -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 New Issue
Block a user