Authored by 陈峰

bug

@@ -7,7 +7,7 @@ let r = new Router(); @@ -7,7 +7,7 @@ let r = new Router();
7 7
8 8
9 r.get('/load', (ctx, next) => { 9 r.get('/load', (ctx, next) => {
10 - const reqPath = ctx.request.query.path; 10 + let reqPath = ctx.request.query.path;
11 if (!reqPath) { 11 if (!reqPath) {
12 return next(); 12 return next();
13 } 13 }