fix skynet links

This commit is contained in:
2020-02-11 21:52:14 +01:00
parent 9912497c2d
commit 0fea58d27d
3 changed files with 6 additions and 5 deletions

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 = ""