hof 20.2.10 → 20.2.11-upgrade-redis-beta
Sign up to get free protection for your applications and to get access to all the features.
- package/.nyc_output/4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5.json +1 -0
- package/.nyc_output/processinfo/4fc007c9-d6c8-4614-89ce-04c7d6ce9fe5.json +1 -0
- package/.nyc_output/processinfo/index.json +1 -0
- package/config/hof-defaults.js +5 -2
- 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 +224 -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/public/css/app.css +2793 -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 +32888 -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}`);
|