Compare commits
2 Commits
2e58b58a6a
...
ba24e7417d
Author | SHA1 | Date | |
---|---|---|---|
ba24e7417d | |||
ea7e3a0964 |
@ -101,7 +101,8 @@ export const Nostr = () => {
|
||||
}
|
||||
} catch (error) {
|
||||
if (error instanceof TimeoutError) {
|
||||
toast.error("Extension didn't respond in time")
|
||||
// Just log the error, no toast, user has already been notified with the loading screen
|
||||
console.error("Extension didn't respond in time")
|
||||
} else {
|
||||
toast.error('Error capturing public key from nostr extension: ' + error)
|
||||
}
|
||||
|
@ -35,7 +35,7 @@ export const isOnline = async () => {
|
||||
|
||||
try {
|
||||
// Define a URL to check the online status
|
||||
const url = 'https://www.google.com'
|
||||
const url = 'https://www.sigit.io'
|
||||
|
||||
// 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