Fix grouping

This commit is contained in:
Ben Sarmiento
2023-10-18 21:36:40 +02:00
parent 4650213218
commit 0fa7b407b0
3 changed files with 22 additions and 25 deletions

View File

@@ -1,6 +1,7 @@
package dav
import (
"fmt"
"log"
"net/http"
"os"
@@ -16,6 +17,8 @@ func Router(mux *http.ServeMux) {
log.Panicf("Config failed to load: %v", err)
}
fmt.Println("config version", c.GetDirectories())
t := torrent.NewTorrentManager(os.Getenv("RD_TOKEN"), c)
mux.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {