aboutsummaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'app.js')
-rw-r--r--app.js11
1 files changed, 6 insertions, 5 deletions
diff --git a/app.js b/app.js
index 58188e4..c0a0b35 100644
--- a/app.js
+++ b/app.js
@@ -6,8 +6,8 @@ const bodyParser = require('body-parser')
const compression = require('compression')
const routes = require('./routes/index')
-const meetingpointProxy = require('./routes/meetingpointProxy')
-const hello = require('./routes/hello')
+const getSchedule = require('./routes/getSchedule')
+const manifest = require('./routes/manifest')
const app = express()
@@ -17,15 +17,16 @@ app.use(compression())
app.set('views', path.join(__dirname, 'views'))
app.set('view engine', 'jade')
-app.use(logger('common'))
+app.use(logger('dev'))
app.use(bodyParser.json())
app.use(bodyParser.urlencoded({ extended: false }))
app.use(cookieParser())
+
+app.use('/manifest.webmanifest', manifest)
app.use(express.static(path.join(__dirname, 'public')))
app.use('/', routes)
-app.use('/meetingpointProxy', meetingpointProxy)
-app.use('/hello', hello)
+app.use('/get', getSchedule)
// catch 404 and forward to error handler
app.use(function (req, res, next) {