Make changes to code to improve readability

This commit is contained in:
JP Wright
2017-11-03 12:45:01 +01:00
committed by Benedikt Rötsch
parent a110d848c0
commit cdb0a07ff7
3 changed files with 11 additions and 10 deletions

2
app.js
View File

@@ -38,7 +38,7 @@ app.use(async function (request, response, next) {
deliveryToken: process.env.CONTENTFUL_DELIVERY_TOKEN,
previewToken: process.env.CONTENTFUL_PREVIEW_TOKEN,
editorialFeatures: false,
// Overwrite default settings using those stored in a cookie
// Overwrite default settings using those stored in cookie, if present
...request.cookies.theExampleAppSettings
}