diff options
author | Noah Loomans <noahloomans@gmail.com> | 2017-03-22 12:47:25 +0100 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2017-03-22 12:47:25 +0100 |
commit | 0f77408d646590273bcadb17e12256e93fee9600 (patch) | |
tree | 469c0e70587021df9f4655ad464c9b57d191f768 /app.js | |
parent | 975c3f20a32b7bdd0f263c1482deb0fba7251912 (diff) |
Add BETA to the title when BETA env is set to 1
Diffstat (limited to 'app.js')
-rw-r--r-- | app.js | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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) |