Skip to content

Commit 202a54f

Browse files
authored
refactor: comments and log (#804)
1 parent 12b766c commit 202a54f

File tree

1 file changed

+3
-3
lines changed
  • sample/sample11-complete-sample-express

1 file changed

+3
-3
lines changed

sample/sample11-complete-sample-express/app.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ import { createExpressServer } from '../../src/index';
33
// base directory. we use it because file in "required" in another module
44
const baseDir = __dirname;
55

6-
// koa is used just as an example here. you can also use express
7-
// to do it simply use createExpressServer instead of createKoaServer
6+
// express is used just as an example here. you can also use koa
7+
// to do it simply use createKoaServer instead of createExpressServer
88
const app = createExpressServer({
99
controllers: [baseDir + '/modules/**/controllers/*{.js,.ts}'],
1010
middlewares: [baseDir + '/modules/**/middlewares/*{.js,.ts}'],
1111
});
1212
app.listen(3001);
1313

14-
console.log('Koa server is running on port 3001. Open http://localhost:3001/blogs/');
14+
console.log('Express server is running on port 3001. Open http://localhost:3001/blogs/');

0 commit comments

Comments
 (0)