Fix ipv6 replacement

This commit is contained in:
Ben Sarmiento
2024-01-26 22:33:13 +01:00
parent 1e1ec9d767
commit 979151d2de
5 changed files with 5 additions and 5 deletions

View File

@@ -96,7 +96,7 @@ func ServeFilesListForInfuse(directory, torrentName string, torMgr *torrent.Torr
func ServeDownloadsListForInfuse(torMgr *torrent.TorrentManager) ([]byte, error) {
var buf bytes.Buffer
if !torMgr.Config.EnableDownloadMount() {
buf.WriteString("Enable download cache in config to use this feature")
buf.WriteString("Enable download mount in config to use this feature")
return buf.Bytes(), nil
}
buf.WriteString("<?xml version=\"1.0\" encoding=\"utf-8\"?><d:multistatus xmlns:d=\"DAV:\">")