remote follow: support handle with and without leading @
This commit is contained in:
parent
7c580b991e
commit
c96e1f9a51
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ export default {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.fetchingRemote = true;
|
this.fetchingRemote = true;
|
||||||
window.fetch(`https://${domain}/.well-known/webfinger?resource=acct:${acct}`, {
|
window.fetch(`https://${domain}/.well-known/webfinger?resource=acct:${username}@${domain}`, {
|
||||||
method: 'get',
|
method: 'get',
|
||||||
mode: 'cors',
|
mode: 'cors',
|
||||||
headers: {
|
headers: {
|
||||||
|
|
Loading…
Reference in a new issue