Skip to content

Commit

Permalink
fix #19
Browse files Browse the repository at this point in the history
  • Loading branch information
dixyes committed Mar 27, 2018
1 parent 0deaa6f commit 8031282
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ if (!conf.cdn){
} else {
hexo.extend.generator.register(path.posix.join(destPath, item[0]), (_) => {
return {
path: path.posix.join(destPath, item[0]),
path: path.relative(hexo.config.root, path.posix.join(destPath, item[0])),
data: function() {
return fs.createReadStream(filePath);
}
Expand Down Expand Up @@ -80,7 +80,7 @@ hexo.extend.filter.register('after_render:html', (str, data) => {
log.info('unknown file type of dplayer file:'+item);
}
})
log.debug('postfilter: '+s);
//log.debug('postfilter: '+s);
return s;
}
return str;
Expand Down

0 comments on commit 8031282

Please sign in to comment.