refactor examples
This commit is contained in:
parent
b138f713fa
commit
750748834e
2 changed files with 2 additions and 2 deletions
|
@ -65,4 +65,4 @@ function route(method, path, fn) {
|
|||
}
|
||||
}
|
||||
|
||||
http.createServer(app.callback()).listen(3000);
|
||||
app.listen(3000);
|
||||
|
|
|
@ -56,4 +56,4 @@ app.use(function(next){
|
|||
}
|
||||
});
|
||||
|
||||
http.createServer(app.callback()).listen(3000);
|
||||
app.listen(3000);
|
||||
|
|
Loading…
Reference in a new issue