Skip to content

Commit 1211077

Browse files
committed
fix const to let
1 parent 0847c17 commit 1211077

File tree

1 file changed

+1
-1
lines changed
  • samples/node/web/koa/url2-koa

1 file changed

+1
-1
lines changed

samples/node/web/koa/url2-koa/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function addControllers(router) {
4343

4444
for (var f of js_files) {
4545
console.log(`process controller: ${f}...`);
46-
const mapping = require(__dirname + '/controllers/' + f);
46+
let mapping = require(__dirname + '/controllers/' + f);
4747
addMapping(router, mapping);
4848
}
4949
}

0 commit comments

Comments
 (0)