diff --git a/CHANGELOG.md b/CHANGELOG.md
index bdc60e6..c9a96f3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+## Unreleased
+
+* Fix: show correct domain name in guppe instructions on homepage
+
## v1.1.0 (2022-05-1)
### Added
diff --git a/web/src/views/Home.vue b/web/src/views/Home.vue
index 0d88517..557505c 100644
--- a/web/src/views/Home.vue
+++ b/web/src/views/Home.vue
@@ -16,10 +16,10 @@
ActivityPub service, but they automatically share anything you send them with all of their followers.
- - Follow a group on @a.gup.pe to join that group
- - Mention a group on @a.gup.pe to share a post with everyone in the group
- - New groups are created on demand, just search for or mention @YourGroupNameHere@a.gup.pe and it will show up
- - Visit a @a.gup.pe group profile to see the group history
+ - Follow a group on @{{ domain }} to join that group
+ - Mention a group on @{{ domain }} to share a post with everyone in the group
+ - New groups are created on demand, just search for or mention @YourGroupNameHere@{{ domain }} and it will show up
+ - Visit a @{{ domain }} group profile to see the group history
Active Groups
@@ -40,10 +40,11 @@ export default {
components: {
ProfileSummary
},
- data() {
+ data () {
return {
groups: [],
- error: null
+ error: null,
+ domain: window.location.host
}
},
created () {
@@ -56,7 +57,7 @@ export default {
.then(json => {
this.groups = json.orderedItems
})
- .catch(err => this.error = err.message)
+ .catch(err => (this.error = err.message))
}
}
@@ -77,4 +78,4 @@ export default {
.profile-image {
width: 75px;
}
-
\ No newline at end of file
+