superstatic
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -24,5 +24,5 @@ var path = require('path'); | ||
if (!matched) res.setHeader('Cache-Control', 'public, max-age=86400'); | ||
if (!matched) res.setHeader('Cache-Control', 'public, max-age=3600'); | ||
next(); | ||
}; |
{ | ||
"name": "superstatic", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "Superstatic: a static file server for fancy apps", | ||
@@ -5,0 +5,0 @@ "main": "lib/superstatic.js", |
@@ -39,4 +39,4 @@ var setup = require('./_setup'); | ||
cacheControl(this.req, this.res, this.next); | ||
expect(this.res.setHeader.calledWith('Cache-Control', 'public, max-age=86400')).to.be(true); | ||
expect(this.res.setHeader.calledWith('Cache-Control', 'public, max-age=3600')).to.be(true); | ||
}); | ||
}) |
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
64594