Commit c8cec07c authored by ChanHaeng Lee's avatar ChanHaeng Lee
Browse files

Decorate root page

parent fb6b9636
Loading
Loading
Loading
Loading
−25.3 KiB
Loading image diff...
+286 −0

File added.

Preview size limit exceeded, changes collapsed.

+24 −8

File changed.

Preview size limit exceeded, changes collapsed.

+2 −2
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ const federation = createFederation({

federation
  .setActorDispatcher(
    `/users/{identifier}`,
    "/users/{identifier}",
    async (context, identifier) => {
      if (identifier != "demo") {
        return null;
@@ -52,7 +52,7 @@ federation
  }) /* .mapAlias() */;

federation
  .setInboxListeners(`/users/{identifier}/inbox`, "/inbox")
  .setInboxListeners("/users/{identifier}/inbox", "/inbox")
  .on(Follow, async (context, follow) => {
    if (
      follow.id == null ||
+286 −0

File added.

Preview size limit exceeded, changes collapsed.

Loading