TSLintに怒られた #702
This commit is contained in:
parent
3659f4cd9a
commit
6cba223e89
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ app.set('trust proxy', 'loopback');
|
|||
* HSTS
|
||||
* 6month(15552000sec)
|
||||
*/
|
||||
if(config.https.enable){
|
||||
if (config.https.enable) {
|
||||
app.use((req, res, next) => {
|
||||
res.header('strict-transport-security', 'max-age=15552000; preload');
|
||||
next();
|
||||
|
|
Loading…
Add table
Reference in a new issue