use original url for nodeinfo software repo

This commit is contained in:
Izalia Mae 2025-04-18 05:45:23 -04:00
parent 448b19d0c7
commit 2ae6f1ee6c

View file

@ -47,7 +47,7 @@ async def handle_nodeinfo(app: Application, request: Request, niversion: str) ->
protocols = ["activitypub"],
open_regs = not conn.get_config("whitelist-enabled"),
users = 1,
repo = "https://codeberg.org/barkshark/activityrelay" if niversion == "2.1" else None,
repo = "https://git.pleroma.social/pleroma/relay" if niversion == "2.1" else None,
metadata = {
"approval_required": conn.get_config("approval-required"),
"peers": [inbox["domain"] for inbox in inboxes]