aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/routes/router.js
diff options
context:
space:
mode:
Diffstat (limited to 'routes/router.js')
-rw-r--r--routes/router.js21
1 files changed, 21 insertions, 0 deletions
diff --git a/routes/router.js b/routes/router.js
index 11d45bb..d0442b8 100644
--- a/routes/router.js
+++ b/routes/router.js
@@ -40,4 +40,25 @@ module.exports = function(app) {
});
+ /*
+ * 404 ERROR
+ */
+
+ app.get('*', function(req, res) {
+ res.render('error/404', { title: 'Fant ikke siden' });
+ });
+
+
+
+
+
+
+
+
+
+
+
+
+
+
}