New release #210
@ -35,7 +35,7 @@ export const isOnline = async () => {
|
||||
|
||||
try {
|
||||
// Define a URL to check the online status
|
||||
const url = 'https://sigit.io'
|
||||
const url = document.location.pathname + '?v=' + new Date().getTime()
|
||||
|
||||
// Make a HEAD request to the URL with 'no-cors' mode
|
||||
// This mode is used to handle opaque responses which do not expose their content
|
||||
|
Loading…
Reference in New Issue
Block a user