Create a torrentMap
This commit is contained in:
@@ -16,8 +16,7 @@ import (
|
||||
|
||||
// Router creates a WebDAV router
|
||||
func Router(mux *http.ServeMux, c config.ConfigInterface, t *torrent.TorrentManager, cache *expirable.LRU[string, string]) {
|
||||
rlog := logutil.NewLogger()
|
||||
log := rlog.Named("net")
|
||||
log := logutil.NewLogger().Named("net")
|
||||
|
||||
mux.HandleFunc("/http/", func(w http.ResponseWriter, r *http.Request) {
|
||||
switch r.Method {
|
||||
|
||||
Reference in New Issue
Block a user