Offline detection method wrong
Closed this issue · 0 comments
Sanil14 commented
To detect if PC is offline, it is using navigator.onLine which checks if there is a connection and not if there is an active connection.
To fix:
Install this module that sends a request to a server to check if there is an active internet connection which is through either wifi or ethernet.