diff --git a/scripts/tags/friends.js b/scripts/tags/friends.js index d02d9e0..956e168 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://data.json.vlts.cc/v2/' + args.repo; + api = 'https://api.vlts.cc/output_data/v2/' + args.repo; } var el = '
'; diff --git a/scripts/tags/sites.js b/scripts/tags/sites.js index 52134f8..2bd483e 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://data.json.vlts.cc/v2/' + args.repo; + api = 'https://api.vlts.cc/output_data/v2/' + args.repo; } var el = '
'; diff --git a/source/js/plugins/linkcard.js b/source/js/plugins/linkcard.js index 1113c7f..b7be0de 100644 --- a/source/js/plugins/linkcard.js +++ b/source/js/plugins/linkcard.js @@ -33,7 +33,7 @@ function setCardLink(nodes) { if (el.nodeType !== 1) return el.removeAttribute('cardlink'); const link = el.href; - const api = 'https://site-info.vlts.cc/api?url='; + const api = 'https://api.vlts.cc/site_info/v1?url='; fetch(api + link).then(function(response) { if (response.ok) { return response.json();