Skip to content

Commit

Permalink
v3.0.12 release
Browse files Browse the repository at this point in the history
1. better use pathname rather than href.
  • Loading branch information
D0n9X1n committed Feb 7, 2020
1 parent 963056c commit ed01353
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/blog-encrypt.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
const cryptoObj = window.crypto || window.msCrypto;
const storage = window.localStorage;

const storageName = 'hexo-blog-encrypt:#' + window.location.href;
const storageName = 'hexo-blog-encrypt:#' + window.location.pathname;
const keySalt = textToArray('hexo-blog-encrypt的作者们都是大帅比!');
const ivSalt = textToArray('hexo-blog-encrypt是地表最强Hexo加密插件!');

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "eslint --ext .js ./"
},
"version": "3.0.11",
"version": "3.0.12",
"devDependencies": {
"eslint": "^6.2.2"
}
Expand Down

0 comments on commit ed01353

Please sign in to comment.