Create a torrentMap
This commit is contained in:
@@ -14,8 +14,7 @@ import (
|
||||
)
|
||||
|
||||
func HandleHeadRequest(w http.ResponseWriter, r *http.Request, t *torrent.TorrentManager, c config.ConfigInterface, cache *expirable.LRU[string, string]) {
|
||||
rlog := logutil.NewLogger()
|
||||
log := rlog.Named("unihead")
|
||||
log := logutil.NewLogger().Named("unihead")
|
||||
|
||||
requestPath := path.Clean(r.URL.Path)
|
||||
requestPath = strings.Replace(requestPath, "/http", "", 1)
|
||||
|
||||
Reference in New Issue
Block a user