read token from config

This commit is contained in:
Ben Sarmiento
2023-10-20 01:49:06 +02:00
parent 464f522fea
commit 0e442fc9be
9 changed files with 23 additions and 22 deletions

View File

@@ -3,7 +3,6 @@ package main
import (
"log"
"net/http"
"os"
"github.com/debridmediamanager.com/zurg/internal/config"
"github.com/debridmediamanager.com/zurg/internal/dav"
@@ -16,7 +15,7 @@ func main() {
log.Panicf("Config failed to load: %v", cErr)
}
t := torrent.NewTorrentManager(os.Getenv("RD_TOKEN"), c)
t := torrent.NewTorrentManager(c)
// app := aero.New()
// dav.Setup(app, c, t)