瀏覽代碼

Merge pull request #266 from hackedd/github-button-ssl

Load Github buttons over HTTPS
Gaël Métais 7 年之前
父節點
當前提交
5ba41c6ea0
共有 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)
     // GitHub star button (asynchronously loaded iframe)
     window.addEventListener('load', function() {
     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';
     });
     });
 }]);
 }]);