Closed paulovieira closed 9 years ago
You are right. I used to pass around the server to have access through out the application. I changed this in the most recent commit (f2ef6bc5c77079020c225c063fdc11fa662b275b). If you need the server you just require it. Thanks!
It's not a bug, but might be a typo.
The
routes
module (server/config/routes.js
) is passed theserver
object (in the mainserver.js
module). Howeverserver
is not used inroutes
. That module is just returning the route table (an array with the route configurations).I believe we should have
in
server/config/routes.js
instead ofserver.js
, no?