Sanil14/FT-Job-Logger

Offline detection method wrong

Closed this issue · 0 comments

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.