mirror of
https://github.com/yattee/yattee.git
synced 2025-12-24 21:50:12 +00:00
For context, Invidious performs a type check of its configuration during bootup, and allows the "domain" to be unspecified, in which case the API and HTML it generates includes path-only URLs. This is valid: in these cases we should assume that the Host for those URLs is the same as the Host we used to access the endpoint called. This commit adds support for servers configured in such a way, by defaulting the host of thumbnail URLs, to that used for authentication.