Skip to content

Commit 4dc3d27

Browse files
committed
fix bug issue#1“
1 parent c1c4ffb commit 4dc3d27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
var fs = require('fs');
22
hexo.extend.filter.register('before_post_render', function(data){
3-
var file_content = fs.readFileSync(path.join(_dirname,"push.js"),"utf-8");
3+
var file_content = fs.readFileSync('./node_modules/hexo-baidu-url-push/push.js');
44
data.content += file_content;
55
return data;
6-
});
6+
});

0 commit comments

Comments
 (0)