hof 20.2.11 → 20.3.11
Sign up to get free protection for your applications and to get access to all the features.
- package/.nyc_output/b924df42-9cb6-4618-9a07-4f58f67ae28a.json +1 -0
- package/.nyc_output/processinfo/b924df42-9cb6-4618-9a07-4f58f67ae28a.json +1 -0
- package/.nyc_output/processinfo/index.json +1 -0
- package/config/hof-defaults.js +5 -2
- package/frontend/govuk-template/govuk_template_generated.html +104 -0
- package/frontend/template-mixins/partials/forms/checkbox-group.html +1 -1
- package/frontend/template-mixins/partials/forms/textarea-group.html +3 -3
- package/frontend/template-partials/views/layout.html +1 -1
- package/frontend/template-partials/views/partials/cookie-banner.html +2 -2
- package/lib/health.js +1 -1
- package/lib/sessions.js +2 -0
- package/middleware/rate-limiter.js +3 -1
- package/package.json +2 -2
- package/sandbox/apps/sandbox/fields.js +6 -0
- package/sandbox/apps/sandbox/translations/en/default.json +220 -0
- package/sandbox/apps/sandbox/translations/src/en/fields.json +5 -5
- package/sandbox/apps/sandbox/translations/src/en/pages.json +1 -1
- package/sandbox/config.js +2 -1
- package/sandbox/dump.rdb +0 -0
- package/sandbox/public/css/app.css +9387 -0
- package/sandbox/public/images/icons/icon-caret-left.png +0 -0
- package/sandbox/public/images/icons/icon-complete.png +0 -0
- package/sandbox/public/images/icons/icon-cross-remove-sign.png +0 -0
- package/sandbox/public/js/bundle.js +35664 -0
- package/sandbox/server.js +4 -1
package/sandbox/server.js
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
'use strict';
|
3
3
|
|
4
4
|
const bootstrap = require('../');
|
5
|
+
const config = require('./config')
|
5
6
|
|
6
7
|
bootstrap({
|
7
8
|
translations: './apps/sandbox/translations',
|
@@ -14,5 +15,7 @@ bootstrap({
|
|
14
15
|
}
|
15
16
|
},
|
16
17
|
getAccessibility: true,
|
17
|
-
"port":
|
18
|
+
"port": config.port
|
18
19
|
});
|
20
|
+
|
21
|
+
console.log(`Running on port ${config.port}`);
|