diff --git a/app/routes.py b/app/routes.py index 8fdf355..cee0d38 100644 --- a/app/routes.py +++ b/app/routes.py @@ -392,7 +392,8 @@ def logout(): def settings(): instanceInfo = { "totalUsers":db.session.query(User).count(), - "location":config['serverLocation'] + "location":config['serverLocation'], + "serverName":config['serverName'] } return render_template('settings.html', info=instanceInfo) diff --git a/app/templates/settings.html b/app/templates/settings.html index c61ff0a..3cbc040 100644 --- a/app/templates/settings.html +++ b/app/templates/settings.html @@ -79,7 +79,7 @@ --> -
Total users: {{info.totalUsers}}
diff --git a/yotter-config.json b/yotter-config.json index 0a2db79..e0ef1e3 100644 --- a/yotter-config.json +++ b/yotter-config.json @@ -1,4 +1,5 @@ { + "serverName": "Yotter.xyz", "nitterInstance": "https://nitter.net/", "maxInstanceUsers": 10, "serverLocation": "Germany"