File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ module.exports = {
1414 useSSL : toBooleanConfig ( process . env . CMD_USESSL ) ,
1515 hsts : {
1616 enable : toBooleanConfig ( process . env . CMD_HSTS_ENABLE ) ,
17- maxAgeSeconds : process . env . CMD_HSTS_MAX_AGE ,
17+ maxAgeSeconds : toIntegerConfig ( process . env . CMD_HSTS_MAX_AGE ) ,
1818 includeSubdomains : toBooleanConfig ( process . env . CMD_HSTS_INCLUDE_SUBDOMAINS ) ,
1919 preload : toBooleanConfig ( process . env . CMD_HSTS_PRELOAD )
2020 } ,
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ module.exports = {
1010 useSSL : toBooleanConfig ( process . env . HMD_USESSL ) ,
1111 hsts : {
1212 enable : toBooleanConfig ( process . env . HMD_HSTS_ENABLE ) ,
13- maxAgeSeconds : process . env . HMD_HSTS_MAX_AGE ,
13+ maxAgeSeconds : toIntegerConfig ( process . env . HMD_HSTS_MAX_AGE ) ,
1414 includeSubdomains : toBooleanConfig ( process . env . HMD_HSTS_INCLUDE_SUBDOMAINS ) ,
1515 preload : toBooleanConfig ( process . env . HMD_HSTS_PRELOAD )
1616 } ,
You can’t perform that action at this time.
0 commit comments