Comparing version 0.5.5 to 0.5.6
@@ -5,2 +5,9 @@ # Changelog | ||
### [0.5.6](https://github.com/nuxt-contrib/ipx/compare/v0.5.5...v0.5.6) (2021-02-04) | ||
### Bug Fixes | ||
* remove extra space ([6df3504](https://github.com/nuxt-contrib/ipx/commit/6df350413d2cab1b4d4a4c9f8b8a92bd906cc8f5)) | ||
### [0.5.5](https://github.com/nuxt-contrib/ipx/compare/v0.5.4...v0.5.5) (2021-02-04) | ||
@@ -7,0 +14,0 @@ |
@@ -316,3 +316,3 @@ #!/usr/bin/env node | ||
if (src.maxAge !== void 0) { | ||
res.setHeader("Cache-Control", `max-age= ${+src.maxAge}, public, s-maxage=${+src.maxAge}`); | ||
res.setHeader("Cache-Control", `max-age=${+src.maxAge}, public, s-maxage=${+src.maxAge}`); | ||
} | ||
@@ -319,0 +319,0 @@ const data = await img.data(); |
@@ -313,3 +313,3 @@ 'use strict'; | ||
if (src.maxAge !== void 0) { | ||
res.setHeader("Cache-Control", `max-age= ${+src.maxAge}, public, s-maxage=${+src.maxAge}`); | ||
res.setHeader("Cache-Control", `max-age=${+src.maxAge}, public, s-maxage=${+src.maxAge}`); | ||
} | ||
@@ -316,0 +316,0 @@ const data = await img.data(); |
{ | ||
"name": "ipx", | ||
"version": "0.5.5", | ||
"version": "0.5.6", | ||
"repository": "nuxt-contrib/ipx", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
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
39868