From f7ccf724df49730a5da7141b03c18d70b0115a87 Mon Sep 17 00:00:00 2001 From: julien Date: Fri, 20 Jun 2025 17:09:46 +0200 Subject: [PATCH] up --- internal/route/main.go | 2 +- templates/_file_list.pages.tmpl | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/internal/route/main.go b/internal/route/main.go index 4592369..a917c44 100644 --- a/internal/route/main.go +++ b/internal/route/main.go @@ -221,7 +221,7 @@ func RoutesProtected(r *mux.Router, bd *gorm.DB) { r.HandleFunc("/validate-path", download.PathValidationHandler) r.HandleFunc("/folders", renders.StreamHandler) - r.HandleFunc("/folders/detail", renders.DetailHandler) + r.HandleFunc("/folders/detail", renders.DetailHandler).Methods("GET") //API Scan folder diff --git a/templates/_file_list.pages.tmpl b/templates/_file_list.pages.tmpl index d52f0b7..0cbb074 100644 --- a/templates/_file_list.pages.tmpl +++ b/templates/_file_list.pages.tmpl @@ -2,11 +2,7 @@ {{- range .Entries }}