fix skynet links

This commit is contained in:
Fornax committed 2020-02-11 21:52:14 +01:00
1 parent 9912497c2d
commit 0fea58d27d
3 files changed
+6 -5

No files matched your search

+2 -2
View File
@@ -243,8 +243,8 @@ function fileFromAPIResp(resp) {
function fileFromSkyNet(resp) {
let file = fileFromAPIResp(resp)
file.icon_href = "/res/img/mime/empty.png"
file.get_href = "https://sky.pixeldrain.com/"+resp.id
file.download_href = "https://sky.pixeldrain.com/"+resp.id+"?attachment=1"
file.get_href = "https://sky.pixeldrain.com/file/"+resp.id
file.download_href = "https://sky.pixeldrain.com/file/"+resp.id+"?attachment=1"
file.availability_href = ""
file.view_href = ""
file.timeseries_href = ""