瀏覽代碼

Load Github buttons over HTTPS

Paul Hooijenga 7 年之前
父節點
當前提交
0e13801a7a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      front/src/js/app.js

+ 1 - 1
front/src/js/app.js

@@ -42,7 +42,7 @@ yltApp.run(['$rootScope', '$location', function($rootScope, $location) {
 
     // GitHub star button (asynchronously loaded iframe)
     window.addEventListener('load', function() {
-        window.document.getElementById('ghbtn').src = 'http://ghbtns.com/github-btn.html?user=gmetais&repo=YellowLabTools&type=star&count=true&size=large';
+        window.document.getElementById('ghbtn').src = 'https://ghbtns.com/github-btn.html?user=gmetais&repo=YellowLabTools&type=star&count=true&size=large';
     });
 }]);