Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add altnames #1165 #1167

Merged
merged 6 commits into from
Jun 6, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup! add altnames #1165
  • Loading branch information
Snailedlt committed Jun 3, 2022
commit 726d58f1bcadbd4da6910e041d0bf5a5d3ec092b
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