Use HTTPS for download links

This commit is contained in:
Maksym Pavlenko
2017-10-24 18:45:54 -07:00
parent 2c3116ad3c
commit 30366da38b
+1 -1
View File
@@ -20,6 +20,6 @@ func makeEnclosure(feed *api.Feed, id string, lengthInBytes int64) (string, itun
contentType = itunes.M4A
}
url := fmt.Sprintf("http://podsync.net/download/%s/%s.%s", feed.HashId, id, ext)
url := fmt.Sprintf("https://podsync.net/download/%s/%s.%s", feed.HashId, id, ext)
return url, contentType, lengthInBytes
}