1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00

Use HTTPS for download links

This commit is contained in:
Maksym Pavlenko
2017-10-24 18:45:54 -07:00
parent 2c3116ad3c
commit 30366da38b

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
}