Relative path for inspeclet

pull/1650/head
terakilobyte 2015-06-16 12:28:05 -04:00
parent 308e539e1e
commit d006f7b87d
2 changed files with 2 additions and 1 deletions

View File

@ -127,6 +127,7 @@ var trusted = [
'*.ytimg.com',
'*.bitly.com',
'http://cdn.inspectlet.com/',
'https://cdn.inspeclet.com/',
'wss://inspectletws.herokuapp.com/',
'http://hn.inspectlet.com/',
'*.googleapis.com',

View File

@ -70,7 +70,7 @@ script#inspectletjs(type='text/javascript').
insp.type = 'text/javascript';
insp.async = true;
insp.id = "inspsync";
insp.src = ('https:' == document.location.protocol ? 'https' : 'http') + '://cdn.inspectlet.com/inspectlet.js';
insp.src = '//cdn.inspectlet.com/inspectlet.js';
var x = document.getElementsByTagName('script')[0];
x.parentNode.insertBefore(insp, x);
}