read token from config
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user