Skip to content

Commit

Permalink
Update next-url.js
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjoezhang committed Dec 2, 2023
1 parent f8e1d75 commit 0da9e21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/helpers/next-url.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ describe('next-url', () => {

before(() => {
hexo.config.url = 'https://example.com';
hexo.url_for = require('hexo/lib/plugins/helper/url_for').bind(hexo);
hexo.url_for = require('hexo/dist/plugins/helper/url_for').bind(hexo);
});

it('text', () => {
Expand Down

0 comments on commit 0da9e21

Please sign in to comment.