Skip to content

Commit

Permalink
api v1
Browse files Browse the repository at this point in the history
  • Loading branch information
xaoxuu committed Mar 9, 2021
1 parent ace3bc3 commit fe4015a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/tags/friends.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ hexo.extend.tag.register('friends', function(args) {
if (group.repo) {
el += '<div class="friendsjs-wrap"';
el += ' id="friends-api"';
el += ' api="' + (group.api || 'https://issues-api.vercel.app') + '/' + group.repo + '"';
el += ' api="' + (group.api || 'https://issues-api.vercel.app') + '/v1/' + group.repo + '"';
el += '>';
el += '<div class="group-body"></div>';
el += '</div>';
Expand Down
2 changes: 1 addition & 1 deletion scripts/tags/site.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ hexo.extend.tag.register('sites', function(args) {
if (group.repo) {
el += '<div class="sitesjs-wrap"';
el += ' id="sites-api"';
el += ' api="' + (group.api || 'https://issues-api.vercel.app') + '/' + group.repo + '"';
el += ' api="' + (group.api || 'https://issues-api.vercel.app') + '/v1/' + group.repo + '"';
el += '>';
el += '<div class="group-body"></div>';
el += '</div>';
Expand Down

0 comments on commit fe4015a

Please sign in to comment.