From 6ab2b080994f40d171de36047a7cafb67c373054 Mon Sep 17 00:00:00 2001 From: mappu Date: Sat, 18 Nov 2017 13:53:33 +1300 Subject: [PATCH] sdk: getPreviewURL() now uses the real preview page --- static/sdk.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/sdk.js b/static/sdk.js index db436d9..11ff964 100644 --- a/static/sdk.js +++ b/static/sdk.js @@ -65,7 +65,7 @@ var contented = (function() { }, "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) { return baseURL + "get/" + encodeURIComponent(id);