Skip to content

Commit

Permalink
fixup! add altnames devicons#1165
Browse files Browse the repository at this point in the history
  • Loading branch information
Snailedlt committed Jun 3, 2022
1 parent d5e95b4 commit 726d58f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/assets/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ devicon.controller('IconListCtrl', function($scope, $http, $compile) {
// Determination of the latest release tagging
// which is used for showing in the header of the page
// as well as for CDN links
var gitHubPath = 'snailedlt/devicon';
var gitHubPath = 'devicons/devicon';
var url = 'https://api.github.com/repos/' + gitHubPath + '/tags';

$scope.latestReleaseTagging = 'master';
Expand All @@ -24,7 +24,7 @@ devicon.controller('IconListCtrl', function($scope, $http, $compile) {
});

var versionStr = '@' + $scope.latestReleaseTagging;
var baseUrl = `https://cdn.jsdelivr.net/gh/${gitHubPath}@a6e7612e7e105247eb1103fc3756c09e838b51a7/`
var baseUrl = `https://cdn.jsdelivr.net/gh/${gitHubPath}${versionStr}/`

// Get devicon.json
$http.get(baseUrl + 'devicon.json').success(function(data) {
Expand Down

0 comments on commit 726d58f

Please sign in to comment.