Load external JS libraries using HTTPS

This commit is contained in:
perroned 2015-09-04 08:48:51 -07:00
parent ab4e38e155
commit 56e1782877

View File

@ -6,7 +6,7 @@ loadLib = (libname) ->
#Meteor.log.info "Failed to load library", param
console.log "Failed to load library", param
Meteor.Loader.loadJs("http://#{window.location.hostname}/client/lib/#{libname}", successCallback, 10000).fail(retryMessageCallback)
Meteor.Loader.loadJs("https://#{window.location.hostname}/client/lib/#{libname}", successCallback, 10000).fail(retryMessageCallback)
# These settings can just be stored locally in session, created at start up
Meteor.startup ->