diff --git a/internal/route/main.go b/internal/route/main.go index 34fd70b..f6e26d5 100644 --- a/internal/route/main.go +++ b/internal/route/main.go @@ -226,7 +226,7 @@ func RoutesProtected(r *mux.Router, bd *gorm.DB) { r.HandleFunc("/folders/detail", renders.DetailHandler).Methods("GET") r.HandleFunc("/api/paths/{id:[0-9]+}/media", renders.PathMedia(bd)).Methods("GET") -r.HandleFunc("/stream/{partID:[0-9]+}", renders.Stream(bd)).Methods("GET") +// r.HandleFunc("/stream/{partID:[0-9]+}", renders.Stream(bd)).Methods("GET") r.HandleFunc("/media/{partID:[0-9]+}", renders.MediaDetail(bd)).Methods("GET") r.HandleFunc("/hls/{partID:[0-9]+}/{file}", renders.HLSStream(bd)).Methods("GET") r.HandleFunc("/hls/{partID:[0-9]+}/", renders.HLSStream(bd)).Methods("GET")