From 0078b15e18f7ab52cb9d84568859e4ab20822dc1 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Wed, 2 Nov 2022 22:31:15 +0800 Subject: [PATCH] update default api --- scripts/tags/friends.js | 2 +- scripts/tags/sites.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 = '
';