hof 19.12.0 → 19.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,6 +3,7 @@
3
3
 
4
4
  const defaults = {
5
5
  appName: process.env.APP_NAME || 'HOF Application',
6
+ htmlLang: 'en',
6
7
  root: process.cwd(),
7
8
  translations: 'translations',
8
9
  start: true,
package/index.js CHANGED
@@ -135,6 +135,7 @@ function bootstrap(options) {
135
135
  app.use((req, res, next) => {
136
136
  res.locals.nonce = crypto.randomBytes(16).toString('hex');
137
137
  res.locals.appName = config.appName;
138
+ res.locals.htmlLang = config.htmlLang;
138
139
  res.locals.cookieName = config.session.name;
139
140
  next();
140
141
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hof",
3
3
  "description": "A bootstrap for HOF projects",
4
- "version": "19.12.0",
4
+ "version": "19.13.1",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
7
7
  "author": "HomeOffice",