From da86110f58400e4b7bc4ce9d0539f97cfcf88d45 Mon Sep 17 00:00:00 2001 From: Stefan Date: Sat, 24 Jan 2015 12:55:17 +0100 Subject: [PATCH] Use https to download plugins.json --- src/static/js/pluginfw/installer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/static/js/pluginfw/installer.js b/src/static/js/pluginfw/installer.js index 35e42c171..cd2ed3305 100644 --- a/src/static/js/pluginfw/installer.js +++ b/src/static/js/pluginfw/installer.js @@ -61,7 +61,7 @@ exports.availablePlugins = null; var cacheTimestamp = 0; exports.getAvailablePlugins = function(maxCacheAge, cb) { - request("http://static.etherpad.org/plugins.json", function(er, response, plugins){ + request("https://static.etherpad.org/plugins.json", function(er, response, plugins){ if (er) return cb && cb(er); if(exports.availablePlugins && maxCacheAge && Math.round(+new Date/1000)-cacheTimestamp <= maxCacheAge) { return cb && cb(null, exports.availablePlugins)