sdk: getPreviewURL() now uses the real preview page
This commit is contained in:
parent
930869759b
commit
6ab2b08099
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user