mirror of
https://github.com/iv-org/invidious.git
synced 2025-04-25 01:39:30 -04: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.