We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f6d0f9 commit 0e24e6bCopy full SHA for 0e24e6b
ng-segmentio.js
@@ -46,7 +46,7 @@ angular.module('segmentio', ['ng']).factory(
46
script.type = 'text/javascript';
47
script.id = 'analytics-js';
48
script.async = true;
49
- script.src = '//cdn.segment.io/analytics.js/v1/' + key + '/analytics.min.js';
+ script.src = 'https://cdn.segment.io/analytics.js/v1/' + key + '/analytics.min.js';
50
script.onload = script.onreadystatechange = function() {
51
deferred.resolve($window.analytics);
52
};
0 commit comments