TSLintに怒られた

This commit is contained in:
tamaina 2017-08-16 23:34:15 +09:00
parent 3659f4cd9a
commit 6cba223e89

View file

@ -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();