Skip to content

Commit

Permalink
fix: fix waline libUrl (#1311)
Browse files Browse the repository at this point in the history
  • Loading branch information
njzjz authored May 28, 2024
1 parent 3c7696b commit da687aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/waline.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ const { version } = require("@waline/client/package.json");


hexo.on('generateBefore', function () {
hexo.config.waline.libUrl = `https://cdnjs.cloudflare.com/ajax/libs/waline/${version}/waline.js`;
hexo.config.waline.libUrl = `https://cdnjs.cloudflare.com/ajax/libs/waline/${version}/waline.umd.js`;
hexo.config.waline.cssUrl = `https://cdnjs.cloudflare.com/ajax/libs/waline/${version}/waline.min.css`;
});

0 comments on commit da687aa

Please sign in to comment.