Toni Förster ad3f0357e6
support for private instances
This is a modification of PR #3728. And addresses #446

Server admins can set the instance to be private. Which means it is only accessible with a registered user account.

The endpoints `/api/v1/popular` and `/api/v1/trending` are whitelisted because some clients expect them to be open.
2023-11-13 11:53:58 +01:00
..