refactor: refactor home and about routes

This commit is contained in:
Khaled Garbaya
2017-10-23 15:31:15 +02:00
committed by Benedikt Rötsch
parent 1e94188333
commit a91e46d70b
4 changed files with 18 additions and 25 deletions

2
app.js
View File

@@ -31,7 +31,7 @@ app.use(async function (req, res, next) {
space: process.env.CF_SPACE,
cda: process.env.CF_ACCESS_TOKEN,
cpa: process.env.CF_PREVIEW_ACCESS_TOKEN,
editorialFeatures: true,
editorialFeatures: false,
...req.cookies.theExampleAppSettings
}