Skip to content

Instantly share code, notes, and snippets.

@desaijay315
Last active Oct 5, 2020
Embed
What would you like to do?
const express = require('express');
const helmet = require('helmet');
const app = express();
app.use(helmet.hsts({
maxAge: 2592000 //ThirtyDaysInSeconds
}))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment