mirror of
https://github.com/iv-org/invidious.git
synced 2025-12-26 07:38:32 -06:00
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.