update default api

This commit is contained in:
xaoxuu 2022-11-02 22:31:15 +08:00
parent 2bd81be76e
commit 0078b15e18
2 changed files with 2 additions and 2 deletions

View File

@ -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 = '<div class="tag-plugin users-wrap">';

View File

@ -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 = '<div class="tag-plugin sites-wrap">';