update default api
This commit is contained in:
parent
2bd81be76e
commit
0078b15e18
|
@ -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">';
|
||||
|
|
|
@ -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">';
|
||||
|
|
Loading…
Reference in New Issue