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

Use http for download links

This commit is contained in:
Maksym Pavlenko
2017-11-26 00:31:48 -08:00
parent 2c26f6a911
commit 1f11f74302

View File

@@ -21,6 +21,6 @@ func makeEnclosure(feed *model.Feed, id string, lengthInBytes int64) (string, it
contentType = itunes.M4A
}
url := fmt.Sprintf("https://podsync.net/download/%s/%s.%s", feed.HashID, id, ext)
url := fmt.Sprintf("http://podsync.net/download/%s/%s.%s", feed.HashID, id, ext)
return url, contentType, lengthInBytes
}