Initial commit.

- Only modifies the total*User values of /api/v1/server/stats.
This commit is contained in:
2023-12-21 13:54:23 +09:00
commit 66ae7583d2
6 changed files with 103 additions and 0 deletions

5
README.md Normal file
View File

@@ -0,0 +1,5 @@
# Hide Root User PeerTube Plugin
Prevent the "root" user from showing up in your PeerTube server's public-facing stats. This is useful when you do not
use your "root" user for anything, and prevents your server stats from appearing incorrect (e.g. showing 2 users for a
single-user instance). This does not hide the actual user, it just subtracts one user from the instance stats.