You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I also want to check if URL is not reachable and I also want to increase the timeout. I do want to create an issue because it's not an issue and there is no clear mention in the documentation. But just mention like its dependency module https://www.npmjs.com/package/is-port-reachable
Thanks
Something like this (in an async function). The value on timeout depends on how fast the target server can handshake, but this should typically complete under a second:
hello, i'm confuse, how to use this great script to check if an url is unreachable ?
I'm write like these :
isReachable('google.com').then(reachable => {
//createWindow();
if(reachable==true){
console.log("OK")
}
else {
console.log("Error")
}
});
but, the result is always not stable, sometime true, sometime false
The text was updated successfully, but these errors were encountered: