pleroma-fe/src/components/remote_follow/remote_follow.js

11 lines
263 B
JavaScript
Raw Normal View History

export default {
props: [ 'user' ],
computed: {
subscribeUrl () {
// eslint-disable-next-line no-undef
const serverUrl = new URL(this.user.statusnet_profile_url)
return `${serverUrl.protocol}//${serverUrl.host}/main/ostatus`
}
}
}