Hi guys,
just look through the document. Seems to use orm in express.js, we need to write the code like app.use(orm.express(...)); And we need to make sure put it before app.use(app.router).
However app.router is deprecated after express4.x . Is there a way to use it as middleware in express 4.x ?
Thx.
Hi guys, just look through the document. Seems to use orm in express.js, we need to write the code like
app.use(orm.express(...));
And we need to make sure put it beforeapp.use(app.router).
However app.router is deprecated after express4.x . Is there a way to use it as middleware in express 4.x ? Thx.