diff options
author | John McLear <john@mclear.co.uk> | 2015-01-24 13:34:41 +0000 |
---|---|---|
committer | John McLear <john@mclear.co.uk> | 2015-01-24 13:34:41 +0000 |
commit | 3f08bf740595c5e7ea2c6d4920a1b0cb4558b1e2 (patch) | |
tree | f97a4d10239bdf96f1b62b9716e822f361925901 /src/static | |
parent | 85c5cc80d0a386009edba68b25dace320be5bee9 (diff) | |
parent | da86110f58400e4b7bc4ce9d0539f97cfcf88d45 (diff) | |
download | etherpad-lite-3f08bf740595c5e7ea2c6d4920a1b0cb4558b1e2.zip |
Merge pull request #2490 from Gared/https_plugins_json
Use https to download plugins.json
Diffstat (limited to 'src/static')
-rw-r--r-- | src/static/js/pluginfw/installer.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/js/pluginfw/installer.js b/src/static/js/pluginfw/installer.js index 35e42c17..cd2ed330 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) |