From 972d3aef3ab12c38c7f4a3b085c2c99cdc4d1d51 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 5 Sep 2018 11:54:33 +0300 Subject: ActivityStreams: fix outbox url --- juick-server/src/main/java/com/juick/server/api/activity/Profile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'juick-server/src/main/java/com/juick/server/api') diff --git a/juick-server/src/main/java/com/juick/server/api/activity/Profile.java b/juick-server/src/main/java/com/juick/server/api/activity/Profile.java index 4160275d..e19ff292 100644 --- a/juick-server/src/main/java/com/juick/server/api/activity/Profile.java +++ b/juick-server/src/main/java/com/juick/server/api/activity/Profile.java @@ -45,7 +45,7 @@ public class Profile { inboxBuilder.path("/post"); person.setInbox(inboxBuilder.toUriString()); UriComponentsBuilder outboxBuilder = UriComponentsBuilder.fromUriString(baseUri); - person.setOutbox(outboxBuilder.path(String.format("/u/%s/blog", userName)).toUriString()); + person.setOutbox(outboxBuilder.path(String.format("/u/%s/blog/toc", userName)).toUriString()); UriComponentsBuilder imgBuilder = UriComponentsBuilder.fromUriString(baseImagesUri); imgBuilder.path(String.format("/a/%d.png", user.getUid())); Image avatar = new Image(); -- cgit v1.2.3