sdk: getPreviewURL() now uses the real preview page

This commit is contained in:
mappu 2017-11-18 13:53:33 +13:00
parent 930869759b
commit 6ab2b08099

View File

@ -65,7 +65,7 @@ var contented = (function() {
}, },
"getPreviewURL": function(id) { "getPreviewURL": function(id) {
return baseURL + "get/" + encodeURIComponent(id); // n.b. there's no better preview URL yet return baseURL + "p/" + encodeURIComponent(id);
}, },
"getDownloadURL": function(id) { "getDownloadURL": function(id) {
return baseURL + "get/" + encodeURIComponent(id); return baseURL + "get/" + encodeURIComponent(id);