fix: complete anime at final episode

This commit is contained in:
2026-04-18 23:52:24 +02:00
parent e336e2aa40
commit 2849a91736
3 changed files with 99 additions and 0 deletions

View File

@@ -61,6 +61,7 @@ func NewRouter(cfg Config) http.Handler {
mux.HandleFunc("/watch/proxy/segment", playbackHandler.HandleProxySegment)
mux.HandleFunc("/watch/proxy/subtitle", playbackHandler.HandleProxySubtitle)
mux.HandleFunc("/api/watch-progress", playbackHandler.HandleSaveProgress)
mux.HandleFunc("/api/watch-complete", playbackHandler.HandleCompleteAnime)
// Auth Endpoints
mux.HandleFunc("/login", func(w http.ResponseWriter, r *http.Request) {