From 0f77408d646590273bcadb17e12256e93fee9600 Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Wed, 22 Mar 2017 12:47:25 +0100 Subject: Add BETA to the title when BETA env is set to 1 --- app.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app.js') diff --git a/app.js b/app.js index 58188e4..f55d563 100644 --- a/app.js +++ b/app.js @@ -7,6 +7,7 @@ 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() @@ -21,6 +22,8 @@ app.use(logger('common')) 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) -- cgit v1.1