diff options
author | Noah Loomans <noahloomans@gmail.com> | 2017-05-26 18:47:26 +0200 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2017-05-26 18:47:26 +0200 |
commit | 65888ffdcbdd4d663360cd2faa15997b8a1f99c7 (patch) | |
tree | 232a0352d053b70a6a15b3d710c3c7d4c243d42b | |
parent | a6a4ddc10ba1a458b94b13c59a4081e9ce1e5b33 (diff) |
Remove /hello page
It not used anymore
-rw-r--r-- | app.js | 2 | ||||
-rw-r--r-- | routes/hello.js | 9 | ||||
-rw-r--r-- | views/hello.jade | 9 |
3 files changed, 0 insertions, 20 deletions
@@ -8,7 +8,6 @@ const compression = require('compression') const routes = require('./routes/index') const meetingpointProxy = require('./routes/meetingpointProxy') const manifest = require('./routes/manifest') -const hello = require('./routes/hello') const app = express() @@ -28,7 +27,6 @@ app.use(express.static(path.join(__dirname, 'public'))) app.use('/', routes) app.use('/meetingpointProxy', meetingpointProxy) -app.use('/hello', hello) // catch 404 and forward to error handler app.use(function (req, res, next) { diff --git a/routes/hello.js b/routes/hello.js deleted file mode 100644 index 6356b98..0000000 --- a/routes/hello.js +++ /dev/null @@ -1,9 +0,0 @@ -var express = require('express') -var router = express.Router() - -/* GET home page. */ -router.get('/', function (req, res, next) { - res.render('hello') -}) - -module.exports = router diff --git a/views/hello.jade b/views/hello.jade deleted file mode 100644 index 260ca9f..0000000 --- a/views/hello.jade +++ /dev/null @@ -1,9 +0,0 @@ -extends layout - -block head - link(rel='stylesheet', href='/stylesheets/hello.css') - -block content - p.madeby Gemaakt door Noah Loomans - p.ideas Heb je ideeën om dit te verbeteren? Mail me op - a(href='mailto:noah.loomans+roostermml@hetcml.nl') noah.loomans+roostermml@hetcml.nl |