Skip to content

Commit 3c0e00c

Browse files
committed
Fixes a bug in the express README documentation
In the README in the part with the express setup. The next() method isn't called which causes the nodejs application to just hang. No request work anymore.
1 parent d5ffd8c commit 3c0e00c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ var app = express();
9393
app.use(orm.express("mysql://username:password@host/database", {
9494
define: function (db, models, next) {
9595
models.person = db.define("person", { ... });
96+
next();
9697
}
9798
}));
9899
app.listen(80);

0 commit comments

Comments
 (0)