forked from Mirrors/elk
fix: ignore fetch node info error
This commit is contained in:
parent
e7ccd00ad3
commit
1a4fd19720
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ export async function loginTo(masto: ElkMasto, user: Overwrite<UserLogin, { acco
|
|||
const url = `https://${user.server}`
|
||||
fetch(`${url}/nodeinfo/2.0`).then(r => r.json()).then((info) => {
|
||||
nodes.value[user.server] = info
|
||||
})
|
||||
}).catch(() => undefined)
|
||||
|
||||
if (!user?.token) {
|
||||
publicServer.value = user.server
|
||||
|
|
Loading…
Reference in a new issue