Files
DemoApp/routes/404.js
2013-02-12 08:43:15 -05:00

12 lines
210 B
JavaScript

//404 catch all
module.exports = function(app) {
//The 404 Route (ALWAYS Keep this as the last route)
app.get('*', function(req, res){
console.log("oook 404 " + req );
res.send('Not Found', 404);
});
};