From c798e67da05d8d01bbb183c0f530ad672d28cee3 Mon Sep 17 00:00:00 2001 From: amacado Date: Wed, 30 Dec 2020 16:31:42 +0100 Subject: [PATCH] update resource links to raw githubusercontent --- docs/assets/js/script.js | 3 ++- docs/index.html | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/assets/js/script.js b/docs/assets/js/script.js index 9c266607..f2637344 100644 --- a/docs/assets/js/script.js +++ b/docs/assets/js/script.js @@ -13,6 +13,7 @@ devicon.controller('IconListCtrl', function($scope, $http, $compile) { // as well as for CDN links var gitHubPath = 'devicons/devicon'; var url = 'https://api.github.com/repos/' + gitHubPath + '/tags'; + $scope.latestReleaseTagging = 'master'; $http.get(url).success(function (data) { if(data.length > 0) { @@ -23,7 +24,7 @@ devicon.controller('IconListCtrl', function($scope, $http, $compile) { }); - var baseUrl = window.location.origin + '/dist'; + var baseUrl = 'https://raw.githubusercontent.com/' + gitHubPath + '/master/' // Get devicon.json $http.get(baseUrl + '/devicon.json').success(function(data) { diff --git a/docs/index.html b/docs/index.html index 0b6d0eab..98aed988 100644 --- a/docs/index.html +++ b/docs/index.html @@ -33,11 +33,13 @@ - + + + @@ -75,7 +77,7 @@

SVG versions