7d60b2dea6
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. |
||
---|---|---|
.. | ||
connectors | ||
middleware | ||
models | ||
application.js | ||
loopback.js |