This commit is contained in:
cangui 2025-06-20 16:26:56 +02:00
parent 2cdee0eed1
commit a4a4702ce9
2 changed files with 4 additions and 2 deletions

View File

@ -220,8 +220,8 @@ func RoutesProtected(r *mux.Router, bd *gorm.DB) {
//API Check path //API Check path
r.HandleFunc("/validate-path", download.PathValidationHandler) r.HandleFunc("/validate-path", download.PathValidationHandler)
r.HandleFun("/folders", renders.StreamHandler) r.HandleFunc("/folders", renders.StreamHandler)
r.HandleFun("/folders/detail", renders.DetailHandler) r.HandleFunc("/folders/detail", renders.DetailHandler)
//API Scan folder //API Scan folder

View File

@ -10,6 +10,8 @@ import (
"io" "io"
"log" "log"
"net/http" "net/http"
"os"
"path/filepath"
"strconv" "strconv"
"strings" "strings"
"sync" "sync"