fix: account server in GoToSocial
This commit is contained in:
parent
ba5b89d5b8
commit
5247b36b6d
4 changed files with 14 additions and 6 deletions
|
@ -34,7 +34,7 @@ export function mastoLogin(masto: ElkMasto, user: Pick<UserLogin, 'server' | 'to
|
|||
|
||||
const server = user.server
|
||||
const url = `https://${server}`
|
||||
const instance: ElkInstance = reactive(getInstanceCache(server) || { uri: server })
|
||||
const instance: ElkInstance = reactive(getInstanceCache(server) || { uri: server, accountDomain: server })
|
||||
setParams({
|
||||
url,
|
||||
accessToken: user?.token,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue