@autofleet/super-express
Advanced tools
Comparing version 1.1.21-beta-3 to 1.1.21-beta-4
@@ -33,4 +33,11 @@ const express = require('express') | ||
// Timeout | ||
app.use((req, res, next) => { | ||
req.socket.setKeepAlive(true); | ||
next(); | ||
}); | ||
// General | ||
// app.use(helmet()); | ||
app.use(helmet()); | ||
if( mergedOptions.bodyParser ) { | ||
@@ -37,0 +44,0 @@ app.use(bodyParser.json({ limit: '1000mb' })) |
{ | ||
"name": "@autofleet/super-express", | ||
"version": "1.1.21-beta-3", | ||
"version": "1.1.21-beta-4", | ||
"description": "AF Express with built in boilerplate", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2358
47