From 9366f88fd862ff04d726b41c30f3f7f0085a8600 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malte=20J=C3=BCrgens?= Date: Sat, 1 May 2021 14:39:11 +0200 Subject: [PATCH] Replace raw.githubusercontent.com with jsdelivr --- docs/assets/js/script.js | 2 +- docs/index.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/assets/js/script.js b/docs/assets/js/script.js index e85d13e99..66c7d7249 100644 --- a/docs/assets/js/script.js +++ b/docs/assets/js/script.js @@ -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) { diff --git a/docs/index.html b/docs/index.html index 8c9dec6b0..dd4240295 100644 --- a/docs/index.html +++ b/docs/index.html @@ -33,7 +33,7 @@ - + @@ -77,7 +77,7 @@

Font versions

SVG versions