Comparing version 1.0.0-next.0 to 1.0.0-next.1
@@ -40,2 +40,3 @@ const fs = require('fs'); | ||
headers = toHeaders(name, stats, isEtag); | ||
headers['Cache-Control'] = 'no-store'; | ||
return { abs, stats, headers }; | ||
@@ -42,0 +43,0 @@ } |
{ | ||
"name": "sirv", | ||
"version": "1.0.0-next.0", | ||
"version": "1.0.0-next.1", | ||
"description": "The optimized & lightweight middleware for serving requests to static assets", | ||
@@ -22,3 +22,3 @@ "repository": "lukeed/sirv", | ||
}, | ||
"gitHead": "353b8610af18c94596f760bccaaa46d865f4498f" | ||
"gitHead": "88b15bc2161fec6e015f32d8fbce3c52618793e7" | ||
} |
@@ -36,4 +36,4 @@ # sirv [![Build Status](https://travis-ci.org/lukeed/sirv.svg?branch=master)](https://travis-ci.org/lukeed/sirv) | ||
.use('/api', require('./api')) | ||
.listen(3000) | ||
.then(() => { | ||
.listen(3000, err => { | ||
if (err) throw err; | ||
console.log('> Ready on localhost:3000~!'); | ||
@@ -40,0 +40,0 @@ }); |
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
11691
125