File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ module.exports = {
14
14
useSSL : toBooleanConfig ( process . env . CMD_USESSL ) ,
15
15
hsts : {
16
16
enable : toBooleanConfig ( process . env . CMD_HSTS_ENABLE ) ,
17
- maxAgeSeconds : process . env . CMD_HSTS_MAX_AGE ,
17
+ maxAgeSeconds : toIntegerConfig ( process . env . CMD_HSTS_MAX_AGE ) ,
18
18
includeSubdomains : toBooleanConfig ( process . env . CMD_HSTS_INCLUDE_SUBDOMAINS ) ,
19
19
preload : toBooleanConfig ( process . env . CMD_HSTS_PRELOAD )
20
20
} ,
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ module.exports = {
10
10
useSSL : toBooleanConfig ( process . env . HMD_USESSL ) ,
11
11
hsts : {
12
12
enable : toBooleanConfig ( process . env . HMD_HSTS_ENABLE ) ,
13
- maxAgeSeconds : process . env . HMD_HSTS_MAX_AGE ,
13
+ maxAgeSeconds : toIntegerConfig ( process . env . HMD_HSTS_MAX_AGE ) ,
14
14
includeSubdomains : toBooleanConfig ( process . env . HMD_HSTS_INCLUDE_SUBDOMAINS ) ,
15
15
preload : toBooleanConfig ( process . env . HMD_HSTS_PRELOAD )
16
16
} ,
You can’t perform that action at this time.
0 commit comments