Compare commits

..

No commits in common. "ba24e7417d99ba678b0eed4dd5e6c354e4a95921" and "2e58b58a6a2375e435029411c6355b3410f8bc29" have entirely different histories.

2 changed files with 2 additions and 3 deletions

View File

@ -101,8 +101,7 @@ export const Nostr = () => {
}
} catch (error) {
if (error instanceof TimeoutError) {
// Just log the error, no toast, user has already been notified with the loading screen
console.error("Extension didn't respond in time")
toast.error("Extension didn't respond in time")
} else {
toast.error('Error capturing public key from nostr extension: ' + error)
}

View File

@ -35,7 +35,7 @@ export const isOnline = async () => {
try {
// Define a URL to check the online status
const url = 'https://www.sigit.io'
const url = 'https://www.google.com'
// 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