bitcoin javascript framework now supports https

This commit is contained in:
OutCast3k 2014-12-08 11:18:38 +00:00
parent eecf5491c5
commit 73530d55db

View file

@ -19,7 +19,7 @@
coinjs.developer = '1CWHWkTWaq1K5hevimJia3cyinQsrgXUvg';
/* bit(coinb.in) api vars */
coinjs.host = 'http://coinb.in/api/';
coinjs.host = ('https:'==document.location.protocol?'https://':'http://')+'coinb.in/api/';
coinjs.uid = '1';
coinjs.key = '12345678901234567890123456789012';