aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com
diff options
context:
space:
mode:
Diffstat (limited to 'juick-server/src/main/java/com')
-rw-r--r--juick-server/src/main/java/com/juick/server/api/activity/Info.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/juick-server/src/main/java/com/juick/server/api/activity/Info.java b/juick-server/src/main/java/com/juick/server/api/activity/Info.java
index 4cff15c1..f779049a 100644
--- a/juick-server/src/main/java/com/juick/server/api/activity/Info.java
+++ b/juick-server/src/main/java/com/juick/server/api/activity/Info.java
@@ -33,7 +33,8 @@ public class Info {
builder.path(String.format("/u/%s", userName));
person.setId(builder.toUriString());
person.setName(userName);
- person.setOutbox(builder.path(String.format("/u/%s/blog", userName)).toUriString());
+ UriComponentsBuilder outboxBuilder = UriComponentsBuilder.fromUriString(baseUri);
+ person.setOutbox(outboxBuilder.path(String.format("/u/%s/blog", userName)).toUriString());
UriComponentsBuilder imgBuilder = UriComponentsBuilder.fromUriString(baseImagesUri);
imgBuilder.path(String.format("/a/%d.png", user.getUid()));
person.setIcon(imgBuilder.toUriString());