diff options
author | Chocobozzz <me@florianbigard.com> | 2020-01-21 14:05:22 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-01-21 14:05:22 +0100 |
commit | f0ad47100748ba5f660b597787422b1b302e64c0 (patch) | |
tree | 5b75aa216bdc199cdd2f93e72f0a67d7524ff617 /client/src/app/shared/user-subscription | |
parent | 7c1f3e73667c013bcebdfbd75d55ba8ef83c6b54 (diff) | |
download | PeerTube-f0ad47100748ba5f660b597787422b1b302e64c0.tar.gz PeerTube-f0ad47100748ba5f660b597787422b1b302e64c0.tar.zst PeerTube-f0ad47100748ba5f660b597787422b1b302e64c0.zip |
Update a little bit user dropdown message
Diffstat (limited to 'client/src/app/shared/user-subscription')
-rw-r--r-- | client/src/app/shared/user-subscription/remote-subscribe.component.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/src/app/shared/user-subscription/remote-subscribe.component.ts b/client/src/app/shared/user-subscription/remote-subscribe.component.ts index 63e7cd5d9..befdb7157 100644 --- a/client/src/app/shared/user-subscription/remote-subscribe.component.ts +++ b/client/src/app/shared/user-subscription/remote-subscribe.component.ts | |||
@@ -39,6 +39,7 @@ export class RemoteSubscribeComponent extends FormReactive implements OnInit { | |||
39 | const address = this.form.value['text'] | 39 | const address = this.form.value['text'] |
40 | const [ username, hostname ] = address.split('@') | 40 | const [ username, hostname ] = address.split('@') |
41 | 41 | ||
42 | // Should not have CORS error because https://tools.ietf.org/html/rfc7033#section-5 | ||
42 | fetch(`https://${hostname}/.well-known/webfinger?resource=acct:${username}@${hostname}`) | 43 | fetch(`https://${hostname}/.well-known/webfinger?resource=acct:${username}@${hostname}`) |
43 | .then(response => response.json()) | 44 | .then(response => response.json()) |
44 | .then(data => new Promise((resolve, reject) => { | 45 | .then(data => new Promise((resolve, reject) => { |