Add an endpoint for returning a most-compatible logo (non-svg) used in sharing and indexing. Closes #1286

This commit is contained in:
Gabe Kangas
2021-08-27 16:20:16 -07:00
parent 734e16203e
commit 15238bf9de
3 changed files with 37 additions and 1 deletions

View File

@ -57,6 +57,9 @@ func Start() error {
// return the logo
http.HandleFunc("/logo", controllers.GetLogo)
// return a logo that's compatible with external social networks
http.HandleFunc("/logo/external", controllers.GetCompatibleLogo)
// return the list of video variants available
http.HandleFunc("/api/video/variants", controllers.GetVideoStreamOutputVariants)