diff --git a/scripts/tags/friends.js b/scripts/tags/friends.js index 68c7951..d02d9e0 100644 --- a/scripts/tags/friends.js +++ b/scripts/tags/friends.js @@ -17,7 +17,7 @@ hexo.extend.tag.register('friends', function(args) { if (args.api) { api = args.api; } else if (args.repo) { - api = 'https://raw.github.xaoxuu.com/' + args.repo + '/output/v2/data.json'; + api = 'https://data.json.vlts.cc/v2/' + args.repo; } var el = '
'; diff --git a/scripts/tags/sites.js b/scripts/tags/sites.js index ef53410..52134f8 100644 --- a/scripts/tags/sites.js +++ b/scripts/tags/sites.js @@ -17,7 +17,7 @@ hexo.extend.tag.register('sites', function(args) { if (args.api) { api = args.api; } else if (args.repo) { - api = 'https://raw.github.xaoxuu.com/' + args.repo + '/output/v2/data.json'; + api = 'https://data.json.vlts.cc/v2/' + args.repo; } var el = '
';