provide specific engine boundaries for nodejs and yarn
[oweals/peertube.git] / client / src / app / shared / user-subscription / remote-subscribe.component.ts
index 63e7cd5d95390555cf6a970db56f6b78f56bf816..befdb7157233c4d3bfe9e1c6380723aa01815b7e 100644 (file)
@@ -39,6 +39,7 @@ export class RemoteSubscribeComponent extends FormReactive implements OnInit {
     const address = this.form.value['text']
     const [ username, hostname ] = address.split('@')
 
+    // Should not have CORS error because https://tools.ietf.org/html/rfc7033#section-5
     fetch(`https://${hostname}/.well-known/webfinger?resource=acct:${username}@${hostname}`)
       .then(response => response.json())
       .then(data => new Promise((resolve, reject) => {