forked from Mirrors/elk
fix: retry oauth call 3x rather than just once
This commit is contained in:
parent
759d9e257e
commit
88b428dc09
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ export default defineEventHandler(async (event) => {
|
||||||
code,
|
code,
|
||||||
scope: 'read write follow push',
|
scope: 'read write follow push',
|
||||||
},
|
},
|
||||||
|
retry: 3,
|
||||||
})
|
})
|
||||||
|
|
||||||
const url = `/signin/callback?${stringifyQuery({ server, token: result.access_token, vapid_key: app.vapid_key })}`
|
const url = `/signin/callback?${stringifyQuery({ server, token: result.access_token, vapid_key: app.vapid_key })}`
|
||||||
|
|
Loading…
Reference in a new issue