Repository URL to install this package:
|
Version:
2.0.0-beta.20 ▾
|
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var errorHandlersMiddleware = [
/**
* 404 errors middleware.
*
* NOTE: the react application middleware hands 404 paths, but it is good to
* have this backup for paths not handled by the react middleware. For
* example you may bind a /api path to express.
*/
function notFoundMiddlware(req, res, next) {
res.status(404).send('Sorry, that resource was not found.');
},
];
exports.default = errorHandlersMiddleware;
//# sourceMappingURL=errorHandlers.js.map