feat: add preview sprite backend

This commit is contained in:
2026-04-18 07:38:48 +02:00
parent db8140a266
commit 54ba5eda2d
5 changed files with 531 additions and 0 deletions

View File

@@ -58,6 +58,8 @@ func NewRouter(cfg Config) http.Handler {
mux.HandleFunc("/watch/proxy/stream", playbackHandler.HandleProxyStream)
mux.HandleFunc("/watch/proxy/segment", playbackHandler.HandleProxySegment)
mux.HandleFunc("/watch/proxy/subtitle", playbackHandler.HandleProxySubtitle)
mux.HandleFunc("/watch/proxy/preview-map", playbackHandler.HandleProxyPreviewMap)
mux.HandleFunc("/watch/proxy/preview-sprite", playbackHandler.HandleProxyPreviewSprite)
// Auth Endpoints
mux.HandleFunc("/login", func(w http.ResponseWriter, r *http.Request) {