loopback/lib/middleware
Miroslav Bajtos 7d60b2dea6 Add loopback.urlNotFound() middleware.
The middleware should be used as the last 3-parameter middleware (regular
request handles) before any 4-parameter middleware (error handlers).

This way a request to an URL not handled by any middleware is converted to
a 404 error that can be handled by whatever error handling strategy is
configured in the application.

See senchalabs/connect#954 for more details.
2013-11-19 20:27:49 +01:00
..
rest.js Swagger integration 2013-07-25 16:24:00 -07:00
token.js Update session / token documentation 2013-11-14 15:42:37 -08:00
urlNotFound.js Add loopback.urlNotFound() middleware. 2013-11-19 20:27:49 +01:00