From 65888ffdcbdd4d663360cd2faa15997b8a1f99c7 Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Fri, 26 May 2017 18:47:26 +0200 Subject: Remove /hello page It not used anymore --- app.js | 2 -- routes/hello.js | 9 --------- views/hello.jade | 9 --------- 3 files changed, 20 deletions(-) delete mode 100644 routes/hello.js delete mode 100644 views/hello.jade diff --git a/app.js b/app.js index 4461152..934429d 100644 --- a/app.js +++ b/app.js @@ -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 -- cgit v1.1