fix #50, remove hard-coded domain name in guppe instructions

This commit is contained in:
Will Murphy 2022-05-08 10:29:11 -05:00
parent 62aea4d0be
commit 950ed75076
2 changed files with 13 additions and 8 deletions

View file

@ -1,3 +1,7 @@
## Unreleased
* Fix: show correct domain name in guppe instructions on homepage
## v1.1.0 (2022-05-1) ## v1.1.0 (2022-05-1)
### Added ### Added

View file

@ -16,10 +16,10 @@
ActivityPub service, but they automatically share anything you send them with all of their followers. ActivityPub service, but they automatically share anything you send them with all of their followers.
</p> </p>
<ol> <ol>
<li>Follow a group on @a.gup.pe to join that group</li> <li>Follow a group on @{{ domain }} to join that group</li>
<li>Mention a group on @a.gup.pe to share a post with everyone in the group</li> <li>Mention a group on @{{ domain }} to share a post with everyone in the group</li>
<li>New groups are created on demand, just search for or mention @YourGroupNameHere@a.gup.pe and it will show up</li> <li>New groups are created on demand, just search for or mention @YourGroupNameHere@{{ domain }} and it will show up</li>
<li>Visit a @a.gup.pe group profile to see the group history</li> <li>Visit a @{{ domain }} group profile to see the group history</li>
</ol> </ol>
<h2 class="w3-center">Active Groups</h2> <h2 class="w3-center">Active Groups</h2>
<div class="profile-grid w3-margin-bottom w3-mobile"> <div class="profile-grid w3-margin-bottom w3-mobile">
@ -40,10 +40,11 @@ export default {
components: { components: {
ProfileSummary ProfileSummary
}, },
data() { data () {
return { return {
groups: [], groups: [],
error: null error: null,
domain: window.location.host
} }
}, },
created () { created () {
@ -56,7 +57,7 @@ export default {
.then(json => { .then(json => {
this.groups = json.orderedItems this.groups = json.orderedItems
}) })
.catch(err => this.error = err.message) .catch(err => (this.error = err.message))
} }
} }
</script> </script>