Small modifications
This commit is contained in:
@@ -76,7 +76,7 @@ func handleListTorrents(w http.ResponseWriter, requestPath string, t *torrent.To
|
||||
}
|
||||
|
||||
resp, _ := t.ResponseCache.Get(basePath + ".dav")
|
||||
davDoc := "<?xml version=\"1.0\" encoding=\"utf-8\"?><d:multistatus xmlns:d=\"DAV:\">" + dav.BaseDirectory(basePath, "") + dav.BaseDirectory(basePath, "") + resp.(string) + "</d:multistatus>"
|
||||
davDoc := resp.(string)
|
||||
|
||||
return &davDoc, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user