Skip to content

Commit

Permalink
dump tag version in nodeinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
Her Email authored and alphatownsman committed Dec 3, 2023
1 parent ec2e27d commit c5814b5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions common/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from django.shortcuts import redirect, render
from django.urls import reverse

from boofilsic import __version__
from users.models import User


Expand Down Expand Up @@ -51,15 +52,18 @@ def nodeinfo2(request):
"version": "2.0",
"software": {
"name": "neodb",
"version": settings.NEODB_VERSION,
"version": __version__,
"repository": "https://github.com/neodb-social/neodb",
"homepage": "https://neodb.net/",
},
"protocols": ["activitypub", "neodb"],
"openRegistrations": not settings.INVITE_ONLY,
"services": {"outbound": [], "inbound": []},
"usage": usage,
"metadata": {"nodeName": settings.SITE_INFO["site_name"]},
"metadata": {
"nodeName": settings.SITE_INFO["site_name"],
"nodeRevision": settings.NEODB_VERSION,
},
}
)

Expand Down

0 comments on commit c5814b5

Please sign in to comment.