mirror of
https://github.com/bodyrep/DemoApp.git
synced 2026-01-25 14:43:00 +00:00
little man
This commit is contained in:
11
routes/404.js
Normal file
11
routes/404.js
Normal file
@@ -0,0 +1,11 @@
|
||||
//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);
|
||||
});
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user