Skip to content

Commit

Permalink
Merge pull request #202 from sonald/fix-typo
Browse files Browse the repository at this point in the history
fix typo in console/server
  • Loading branch information
tommy351 committed Jun 16, 2013
2 parents 87dd13e + e1722cd commit 7b52cb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/plugins/console/server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ extend.console.register('server', 'Run server', {alias: 's'}, function(args){

if (!target){
if (path.extname(uri)) return next();
res.redirect(config.root + url + '/');
res.redirect(config.root + uri + '/');
return;
}

Expand Down Expand Up @@ -66,4 +66,4 @@ extend.console.register('server', 'Run server', {alias: 's'}, function(args){
hexo.emit('server');
});
});
});
});

0 comments on commit 7b52cb4

Please sign in to comment.