import appConfig from './config'

export const frameOptions = () => (req, res, next) => {
  res.setHeader('X-Frame-Options', 'DENY')
  next()
}

export const hsts = () => {
  const maxAge = Math.round(60 * 60 * 24)
  return (req, res, next) => {
    res.setHeader('Strict-Transport-Security', `max-age=${maxAge}; includeSubDomains; preload`)
    next()
  }
}

@@ -1,38 +1,4 @@
-import appConfig from './config'%0A%0A
 expo
@@ -172,17 +172,35 @@
  60 * 24
-)
+ * 183) //Half year
 %0A  retur

Increase HSTS max age to half year