mirror of
https://github.com/konpa/devicon.git
synced 2025-08-16 19:44:05 +02:00
Replace raw.githubusercontent.com with jsdelivr (#586)
Co-authored-by: Clemens Bastian <8781699+amacado@users.noreply.github.com>
This commit is contained in:
@@ -24,7 +24,7 @@ devicon.controller('IconListCtrl', function($scope, $http, $compile) {
|
||||
});
|
||||
|
||||
|
||||
var baseUrl = 'https://raw.githubusercontent.com/' + gitHubPath + '/master/'
|
||||
var baseUrl = `https://cdn.jsdelivr.net/gh/${gitHubPath}/`
|
||||
|
||||
// Get devicon.json
|
||||
$http.get(baseUrl + '/devicon.json').success(function(data) {
|
||||
|
Reference in New Issue
Block a user