Load external JS libraries using HTTPS
This commit is contained in:
parent
ab4e38e155
commit
56e1782877
@ -6,7 +6,7 @@ loadLib = (libname) ->
|
|||||||
#Meteor.log.info "Failed to load library", param
|
#Meteor.log.info "Failed to load library", param
|
||||||
console.log "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
|
# These settings can just be stored locally in session, created at start up
|
||||||
Meteor.startup ->
|
Meteor.startup ->
|
||||||
|
Loading…
Reference in New Issue
Block a user