Browse Source

try to fix watcher

main
matthew 2 years ago
parent
commit
f6617732a5
  1. 1
      searching-front/services/domain-watcher.ts

1
searching-front/services/domain-watcher.ts

@ -75,6 +75,7 @@ const fetchTonSite = async (url: string) => {
const urlToFetch = `http://${url}/` const urlToFetch = `http://${url}/`
const response = await axios.get(urlToFetch, { const response = await axios.get(urlToFetch, {
proxy: getTonProxy(), proxy: getTonProxy(),
timeout: 30000
}) })
if (!response.data) { if (!response.data) {
console.log("Error fetch") console.log("Error fetch")

Loading…
Cancel
Save