Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/AdFabConnect/abejs into r…
Browse files Browse the repository at this point in the history
…eference-editor
  • Loading branch information
wonknu committed Oct 31, 2016
2 parents 7deabd4 + 0fd50e9 commit d046672
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/middlewares/website.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ var middleware = function(req, res, next) {
if(typeof folders !== 'undefined' && folders !== null) {
Array.prototype.forEach.call(folders, (folder) => {
var url = folder.path.replace(path.join(config.root,config.publish.url), '')
html += '<li><a href="' + url + '">/' + path.basename(folder) + '</a></li>'
html += '<li><a href="' + url + '">/' + path.basename(folder.path) + '</a></li>'
})
}
if(typeof files !== 'undefined' && files !== null) {
Expand Down

0 comments on commit d046672

Please sign in to comment.