Move the federation code under Federation/, namespaces only
Build / Build (push) Successful in 16s

Services/Federation and Controllers/ServerToServer become
Federation/{Actors,Signing,Inbox,Outbox,Rendering,Controllers}, the first step
of the roadmap's layout. No type, route or behaviour changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012CzABvBkbcFqoHdmi8b9WB
This commit is contained in:
thepraandClaude Opus 5.5 committed 2026-10-01 10:39:41 +02:00
1 parent 31f6015591
commit 034b792801
14 files changed
+40 -20

No files matched your search

@@ -0,0 +1,12 @@
using Microsoft.AspNetCore.Mvc;
namespace PrivaPub.Federation.Controllers
{
[ApiController, Route("users")]
public class UsersController : ControllerBase
{
[HttpGet, Route("{actor}")]
public IActionResult GetActor(string actor) =>
RedirectPermanent($"/peasants/{Uri.EscapeDataString(actor)}");
}
}