aboutsummaryrefslogtreecommitdiff
path: root/routes/index.js
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2016-09-04 22:17:14 +0200
committerNoah Loomans <noahloomans@gmail.com>2016-09-04 22:17:14 +0200
commitfd7262bebcd6aff7e3ad229bd9e737816a2b23bc (patch)
tree6b82b7ee03e6d4c3083aff436cf2a9543af46a2a /routes/index.js
Init commit
Diffstat (limited to 'routes/index.js')
-rw-r--r--routes/index.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/routes/index.js b/routes/index.js
new file mode 100644
index 0000000..72068ff
--- /dev/null
+++ b/routes/index.js
@@ -0,0 +1,9 @@
+var express = require('express')
+var router = express.Router()
+
+/* GET home page. */
+router.get('/', function (req, res, next) {
+ res.render('index')
+})
+
+module.exports = router