Skip to content

Commit

Permalink
chore(server) es2018-ify
Browse files Browse the repository at this point in the history
  • Loading branch information
coderaiser committed Oct 22, 2018
1 parent 63850c2 commit 622c38e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function checkOption(isOption) {
function _konsoleFn(options, req, res, next) {
const o = options || {};
const prefix = o.prefix || '/console';
const url = req.url
const {url} = req;

if (url.indexOf(prefix))
return next();
Expand Down

0 comments on commit 622c38e

Please sign in to comment.