Showing
1 changed file
with
1 additions
and
1 deletions
@@ -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 | } |
-
Please register or login to post a comment